From 468a75ed56852afd7d5c161407b3b70d342da64d Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Tue, 14 Dec 2021 08:17:26 +0100 Subject: [PATCH] Companion #10403: Remove Default for AccountId (#4500) * Some work * Fixes * Tests builds * Fixes * Fixes * Fixes * Fixes * Fixes * Formatting * Formatting * Fix * Fixes * Fixes * Fixes * Fixes * Update Cargo.lock * Bump * Fixes --- Cargo.lock | 326 +++++++++--------- bridges/bin/millau/node/src/chain_spec.rs | 2 +- .../rialto-parachain/node/src/chain_spec.rs | 2 +- bridges/bin/rialto/node/src/chain_spec.rs | 2 +- .../modules/messages/src/instant_payments.rs | 2 +- .../header-chain/tests/justification.rs | 3 +- bridges/primitives/polkadot-core/src/lib.rs | 17 +- bridges/primitives/test-utils/src/keyring.rs | 3 +- node/core/approval-voting/src/criteria.rs | 2 +- .../approval-distribution/src/tests.rs | 12 +- node/network/bridge/src/tests.rs | 2 +- node/network/gossip-support/src/lib.rs | 2 +- node/overseer/src/tests.rs | 4 +- node/primitives/src/approval.rs | 2 +- node/service/src/chain_spec.rs | 8 +- node/subsystem-util/src/lib.rs | 2 +- node/subsystem-util/src/runtime/mod.rs | 2 +- node/test/service/src/chain_spec.rs | 2 +- node/test/service/tests/call-function.rs | 4 +- primitives/Cargo.toml | 1 - primitives/src/v0.rs | 8 +- runtime/common/src/auctions.rs | 14 +- runtime/common/src/claims.rs | 10 + runtime/common/src/crowdloan.rs | 10 +- runtime/common/src/impls.rs | 7 +- runtime/common/src/purchase.rs | 12 +- runtime/common/src/slots.rs | 2 +- runtime/kusama/src/tests.rs | 3 +- runtime/parachains/src/builder.rs | 7 +- .../parachains/src/paras_inherent/tests.rs | 4 +- runtime/polkadot/src/lib.rs | 4 +- runtime/rococo/src/bridge_messages.rs | 10 +- 32 files changed, 257 insertions(+), 234 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cd15a28534d0..df915c33bf3f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -448,7 +448,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "beefy-primitives", "fnv", @@ -476,7 +476,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -496,12 +496,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "scale-info", @@ -1845,7 +1845,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", ] @@ -1863,7 +1863,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -1884,7 +1884,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "Inflector", "chrono", @@ -1910,7 +1910,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -1924,7 +1924,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -1952,7 +1952,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "bitflags", "frame-metadata", @@ -1981,7 +1981,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -1993,7 +1993,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.0", @@ -2005,7 +2005,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "proc-macro2", "quote", @@ -2015,7 +2015,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2038,7 +2038,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -2049,7 +2049,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "log", @@ -2066,7 +2066,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -2081,7 +2081,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "sp-api", @@ -2090,7 +2090,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "sp-api", @@ -2292,7 +2292,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "chrono", "frame-election-provider-support", @@ -4557,7 +4557,7 @@ checksum = "2386b4ebe91c2f7f51082d4cefa145d030e33a1842a96b12e4885cc3c01f7a55" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4571,7 +4571,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -4587,7 +4587,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -4602,7 +4602,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4626,7 +4626,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4646,7 +4646,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "clap", "frame-election-provider-support", @@ -4668,7 +4668,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4683,7 +4683,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "beefy-primitives", "frame-support", @@ -4699,7 +4699,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -4724,7 +4724,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4808,7 +4808,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4825,7 +4825,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4841,7 +4841,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4865,7 +4865,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4883,7 +4883,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4898,7 +4898,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4921,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4937,7 +4937,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4957,7 +4957,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4974,7 +4974,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4991,7 +4991,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5009,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -5025,7 +5025,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5042,7 +5042,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5057,7 +5057,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -5071,7 +5071,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -5088,7 +5088,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5127,7 +5127,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5142,7 +5142,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -5156,7 +5156,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5172,7 +5172,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -5193,7 +5193,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5209,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -5223,7 +5223,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5246,7 +5246,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -5257,7 +5257,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "log", "sp-arithmetic", @@ -5266,7 +5266,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -5280,7 +5280,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5298,7 +5298,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5317,7 +5317,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-support", "frame-system", @@ -5334,7 +5334,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5351,7 +5351,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5362,7 +5362,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5379,7 +5379,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5395,7 +5395,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7776,7 +7776,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8067,7 +8067,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "log", "sp-core", @@ -8078,7 +8078,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "derive_more", @@ -8105,7 +8105,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "futures 0.3.18", "futures-timer 3.0.2", @@ -8128,7 +8128,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8144,7 +8144,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8161,7 +8161,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -8172,7 +8172,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "chrono", "fdlimit", @@ -8210,7 +8210,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "fnv", "futures 0.3.18", @@ -8238,7 +8238,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "hash-db", "kvdb", @@ -8263,7 +8263,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "futures 0.3.18", @@ -8287,7 +8287,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "derive_more", @@ -8330,7 +8330,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "derive_more", "futures 0.3.18", @@ -8354,7 +8354,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8367,7 +8367,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "assert_matches", "async-trait", @@ -8401,7 +8401,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "futures 0.3.18", @@ -8427,7 +8427,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "sc-client-api", "sp-authorship", @@ -8438,7 +8438,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "lazy_static", "libsecp256k1", @@ -8466,7 +8466,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "derive_more", "environmental", @@ -8484,7 +8484,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "log", "parity-scale-codec", @@ -8500,7 +8500,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8518,7 +8518,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "derive_more", @@ -8555,7 +8555,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "derive_more", "finality-grandpa", @@ -8579,7 +8579,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "ansi_term", "futures 0.3.18", @@ -8596,7 +8596,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "derive_more", @@ -8611,7 +8611,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-std", "async-trait", @@ -8662,7 +8662,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "futures 0.3.18", "futures-timer 3.0.2", @@ -8678,7 +8678,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "bytes 1.1.0", "fnv", @@ -8706,7 +8706,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "futures 0.3.18", "libp2p", @@ -8719,7 +8719,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8728,7 +8728,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "futures 0.3.18", "hash-db", @@ -8759,7 +8759,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "futures 0.3.18", "jsonrpc-core", @@ -8784,7 +8784,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "futures 0.3.18", "jsonrpc-core", @@ -8801,7 +8801,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "directories", @@ -8865,7 +8865,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "log", "parity-scale-codec", @@ -8879,7 +8879,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8901,7 +8901,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "chrono", "futures 0.3.18", @@ -8919,7 +8919,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "ansi_term", "atty", @@ -8950,7 +8950,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -8961,7 +8961,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "futures 0.3.18", "intervalier", @@ -8988,7 +8988,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "derive_more", "futures 0.3.18", @@ -9002,7 +9002,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "futures 0.3.18", "futures-timer 3.0.2", @@ -9407,7 +9407,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "hash-db", "log", @@ -9424,7 +9424,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "blake2-rfc", "proc-macro-crate 1.1.0", @@ -9436,7 +9436,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9449,7 +9449,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "integer-sqrt", "num-traits", @@ -9464,7 +9464,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9477,7 +9477,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "parity-scale-codec", @@ -9489,7 +9489,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "sp-api", @@ -9501,7 +9501,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "futures 0.3.18", "log", @@ -9519,7 +9519,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "futures 0.3.18", @@ -9538,7 +9538,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "merlin", @@ -9561,7 +9561,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9573,7 +9573,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9585,7 +9585,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "base58", "bitflags", @@ -9633,7 +9633,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "blake2-rfc", "byteorder", @@ -9646,7 +9646,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "proc-macro2", "quote", @@ -9657,7 +9657,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "kvdb", "parking_lot", @@ -9666,7 +9666,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "proc-macro2", "quote", @@ -9676,7 +9676,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.10.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "environmental", "parity-scale-codec", @@ -9687,7 +9687,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "finality-grandpa", "log", @@ -9705,7 +9705,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9719,7 +9719,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "futures 0.3.18", "hash-db", @@ -9743,7 +9743,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "lazy_static", "sp-core", @@ -9754,7 +9754,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "derive_more", @@ -9771,7 +9771,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "zstd", ] @@ -9779,7 +9779,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9794,7 +9794,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -9805,7 +9805,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "sp-api", "sp-core", @@ -9815,7 +9815,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "backtrace", "lazy_static", @@ -9825,7 +9825,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "rustc-hash", "serde", @@ -9835,7 +9835,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "either", "hash256-std-hasher", @@ -9857,7 +9857,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9874,7 +9874,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "Inflector", "proc-macro-crate 1.1.0", @@ -9886,7 +9886,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "serde", "serde_json", @@ -9895,7 +9895,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9909,7 +9909,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9920,7 +9920,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "hash-db", "log", @@ -9943,12 +9943,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" [[package]] name = "sp-storage" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9961,7 +9961,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "log", "sp-core", @@ -9974,7 +9974,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -9990,7 +9990,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "sp-std", @@ -10002,7 +10002,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "sp-api", "sp-runtime", @@ -10011,7 +10011,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "log", @@ -10027,7 +10027,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "hash-db", "memory-db", @@ -10042,7 +10042,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10058,7 +10058,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10069,7 +10069,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10280,7 +10280,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "platforms", ] @@ -10288,7 +10288,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.18", @@ -10310,7 +10310,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-std", "derive_more", @@ -10324,7 +10324,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "async-trait", "futures 0.3.18", @@ -10350,7 +10350,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "futures 0.3.18", "substrate-test-utils-derive", @@ -10360,7 +10360,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -10371,7 +10371,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "ansi_term", "build-helper", @@ -10513,7 +10513,7 @@ dependencies = [ [[package]] name = "test-runner" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "frame-system", "futures 0.3.18", @@ -10955,7 +10955,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b9cafba3d0e7a5950ac78d81e4ab7f2074938666" +source = "git+https://github.com/paritytech/substrate?branch=master#55cd07a7e22c26932f7bd16b87ea5a7569e38eb4" dependencies = [ "jsonrpsee", "log", diff --git a/bridges/bin/millau/node/src/chain_spec.rs b/bridges/bin/millau/node/src/chain_spec.rs index fbfca8692fcb..d3d30b151b2f 100644 --- a/bridges/bin/millau/node/src/chain_spec.rs +++ b/bridges/bin/millau/node/src/chain_spec.rs @@ -195,7 +195,7 @@ fn testnet_genesis( aura: AuraConfig { authorities: Vec::new() }, beefy: BeefyConfig { authorities: Vec::new() }, grandpa: GrandpaConfig { authorities: Vec::new() }, - sudo: SudoConfig { key: root_key }, + sudo: SudoConfig { key: Some(root_key) }, session: SessionConfig { keys: initial_authorities .iter() diff --git a/bridges/bin/rialto-parachain/node/src/chain_spec.rs b/bridges/bin/rialto-parachain/node/src/chain_spec.rs index 52012423fb71..9ccad8c62f48 100644 --- a/bridges/bin/rialto-parachain/node/src/chain_spec.rs +++ b/bridges/bin/rialto-parachain/node/src/chain_spec.rs @@ -155,7 +155,7 @@ fn testnet_genesis( balances: rialto_parachain_runtime::BalancesConfig { balances: endowed_accounts.iter().cloned().map(|k| (k, 1 << 60)).collect(), }, - sudo: rialto_parachain_runtime::SudoConfig { key: root_key }, + sudo: rialto_parachain_runtime::SudoConfig { key: Some(root_key) }, parachain_info: rialto_parachain_runtime::ParachainInfoConfig { parachain_id: id }, aura: rialto_parachain_runtime::AuraConfig { authorities: initial_authorities }, aura_ext: Default::default(), diff --git a/bridges/bin/rialto/node/src/chain_spec.rs b/bridges/bin/rialto/node/src/chain_spec.rs index fb18a35a6af0..a0d3512b40a0 100644 --- a/bridges/bin/rialto/node/src/chain_spec.rs +++ b/bridges/bin/rialto/node/src/chain_spec.rs @@ -221,7 +221,7 @@ fn testnet_genesis( }, beefy: BeefyConfig { authorities: Vec::new() }, grandpa: GrandpaConfig { authorities: Vec::new() }, - sudo: SudoConfig { key: root_key }, + sudo: SudoConfig { key: Some(root_key) }, session: SessionConfig { keys: initial_authorities .iter() diff --git a/bridges/modules/messages/src/instant_payments.rs b/bridges/modules/messages/src/instant_payments.rs index c145687af994..d67b82ade8d2 100644 --- a/bridges/modules/messages/src/instant_payments.rs +++ b/bridges/modules/messages/src/instant_payments.rs @@ -145,7 +145,7 @@ fn pay_relayers_rewards( relayer_fund_account: &AccountId, confirmation_fee: Currency::Balance, ) where - AccountId: Debug + Default + Encode + PartialEq, + AccountId: Debug + Encode + PartialEq, Currency: CurrencyT, Currency::Balance: From, { diff --git a/bridges/primitives/header-chain/tests/justification.rs b/bridges/primitives/header-chain/tests/justification.rs index 85846c6d50f9..5b4981a0f69a 100644 --- a/bridges/primitives/header-chain/tests/justification.rs +++ b/bridges/primitives/header-chain/tests/justification.rs @@ -136,7 +136,8 @@ fn justification_with_invalid_commit_rejected() { #[test] fn justification_with_invalid_authority_signature_rejected() { let mut justification = make_default_justification::(&test_header(1)); - justification.commit.precommits[0].signature = Default::default(); + justification.commit.precommits[0].signature = + sp_core::crypto::UncheckedFrom::unchecked_from([1u8; 64]); assert_eq!( verify_justification::( diff --git a/bridges/primitives/polkadot-core/src/lib.rs b/bridges/primitives/polkadot-core/src/lib.rs index 68fd879590a9..52aa9eb08e13 100644 --- a/bridges/primitives/polkadot-core/src/lib.rs +++ b/bridges/primitives/polkadot-core/src/lib.rs @@ -21,6 +21,7 @@ use bp_runtime::Chain; use frame_support::{ dispatch::Dispatchable, parameter_types, + unsigned::TransactionValidityError, weights::{ constants::{BlockExecutionWeight, WEIGHT_PER_SECOND}, DispatchClass, Weight, @@ -33,7 +34,7 @@ use scale_info::{StaticTypeInfo, TypeInfo}; use sp_core::Hasher as HasherT; use sp_runtime::{ generic, - traits::{BlakeTwo256, IdentifyAccount, Verify}, + traits::{BlakeTwo256, DispatchInfoOf, IdentifyAccount, Verify}, MultiAddress, MultiSignature, OpaqueExtrinsic, }; use sp_std::prelude::Vec; @@ -343,11 +344,19 @@ where type AdditionalSigned = AdditionalSigned; type Pre = (); - fn additional_signed( - &self, - ) -> Result { + fn additional_signed(&self) -> Result { Ok(self.additional_signed) } + + fn pre_dispatch( + self, + who: &Self::AccountId, + call: &Self::Call, + info: &DispatchInfoOf, + len: usize, + ) -> Result { + Ok(self.validate(who, call, info, len).map(|_| ())?) + } } /// Polkadot-like chain. diff --git a/bridges/primitives/test-utils/src/keyring.rs b/bridges/primitives/test-utils/src/keyring.rs index 059d6eb5be4f..2436d7933923 100644 --- a/bridges/primitives/test-utils/src/keyring.rs +++ b/bridges/primitives/test-utils/src/keyring.rs @@ -19,7 +19,6 @@ use codec::Encode; use ed25519_dalek::{Keypair, PublicKey, SecretKey, Signature}; use finality_grandpa::voter_set::VoterSet; -use sp_application_crypto::Public; use sp_finality_grandpa::{AuthorityId, AuthorityList, AuthorityWeight}; use sp_runtime::RuntimeDebug; use sp_std::prelude::*; @@ -70,7 +69,7 @@ impl Account { impl From for AuthorityId { fn from(p: Account) -> Self { - AuthorityId::from_slice(&p.public().to_bytes()) + sp_application_crypto::UncheckedFrom::unchecked_from(p.public().to_bytes()) } } diff --git a/node/core/approval-voting/src/criteria.rs b/node/core/approval-voting/src/criteria.rs index 7663ee72da06..e96cf06451c1 100644 --- a/node/core/approval-voting/src/criteria.rs +++ b/node/core/approval-voting/src/criteria.rs @@ -24,7 +24,7 @@ use polkadot_primitives::v1::{ AssignmentId, AssignmentPair, CandidateHash, CoreIndex, GroupIndex, SessionInfo, ValidatorIndex, }; use sc_keystore::LocalKeystore; -use sp_application_crypto::Public; +use sp_application_crypto::ByteArray; use merlin::Transcript; use schnorrkel::vrf::VRFInOut; diff --git a/node/network/approval-distribution/src/tests.rs b/node/network/approval-distribution/src/tests.rs index 25120bf44a81..23fc49a77ed7 100644 --- a/node/network/approval-distribution/src/tests.rs +++ b/node/network/approval-distribution/src/tests.rs @@ -28,6 +28,10 @@ use std::time::Duration; type VirtualOverseer = test_helpers::TestSubsystemContextHandle; +fn dummy_signature() -> polkadot_primitives::v1::ValidatorSignature { + sp_core::crypto::UncheckedFrom::unchecked_from([1u8; 64]) +} + fn test_harness>( mut state: State, test_fn: impl FnOnce(VirtualOverseer) -> T, @@ -470,7 +474,7 @@ fn import_approval_happy_path() { block_hash: hash, candidate_index, validator: validator_index, - signature: Default::default(), + signature: dummy_signature(), }; let msg = protocol_v1::ApprovalDistributionMessage::Approvals(vec![approval.clone()]); send_message_from_peer(overseer, &peer_b, msg).await; @@ -537,7 +541,7 @@ fn import_approval_bad() { block_hash: hash, candidate_index, validator: validator_index, - signature: Default::default(), + signature: dummy_signature(), }; let msg = protocol_v1::ApprovalDistributionMessage::Approvals(vec![approval.clone()]); send_message_from_peer(overseer, &peer_b, msg).await; @@ -867,7 +871,7 @@ fn import_remotely_then_locally() { block_hash: hash, candidate_index, validator: validator_index, - signature: Default::default(), + signature: dummy_signature(), }; let msg = protocol_v1::ApprovalDistributionMessage::Approvals(vec![approval.clone()]); send_message_from_peer(overseer, peer, msg).await; @@ -922,7 +926,7 @@ fn sends_assignments_even_when_state_is_approved() { block_hash: hash, candidate_index, validator: validator_index, - signature: Default::default(), + signature: dummy_signature(), }; overseer_send( diff --git a/node/network/bridge/src/tests.rs b/node/network/bridge/src/tests.rs index 3872cac8fc74..f643a62d38d5 100644 --- a/node/network/bridge/src/tests.rs +++ b/node/network/bridge/src/tests.rs @@ -869,7 +869,7 @@ fn relays_collation_protocol_messages() { let collator_protocol_message = protocol_v1::CollatorProtocolMessage::Declare( Sr25519Keyring::Alice.public().into(), Default::default(), - Default::default(), + sp_core::crypto::UncheckedFrom::unchecked_from([1u8; 64]), ); let message = diff --git a/node/network/gossip-support/src/lib.rs b/node/network/gossip-support/src/lib.rs index 5873ef2586bd..c01c816dafcd 100644 --- a/node/network/gossip-support/src/lib.rs +++ b/node/network/gossip-support/src/lib.rs @@ -36,7 +36,7 @@ use rand::{seq::SliceRandom as _, SeedableRng}; use rand_chacha::ChaCha20Rng; use sc_network::Multiaddr; -use sp_application_crypto::{AppKey, Public}; +use sp_application_crypto::{AppKey, ByteArray}; use sp_keystore::{CryptoStore, SyncCryptoStorePtr}; use polkadot_node_network_protocol::{ diff --git a/node/overseer/src/tests.rs b/node/overseer/src/tests.rs index d81a64bd520f..c1ab8bafc27d 100644 --- a/node/overseer/src/tests.rs +++ b/node/overseer/src/tests.rs @@ -895,12 +895,12 @@ fn test_dispute_distribution_msg() -> DisputeDistributionMessage { session_index: 0, invalid_vote: InvalidDisputeVote { validator_index: ValidatorIndex(0), - signature: Default::default(), + signature: sp_core::crypto::UncheckedFrom::unchecked_from([1u8; 64]), kind: InvalidDisputeStatementKind::Explicit, }, valid_vote: ValidDisputeVote { validator_index: ValidatorIndex(0), - signature: Default::default(), + signature: sp_core::crypto::UncheckedFrom::unchecked_from([2u8; 64]), kind: ValidDisputeStatementKind::Explicit, }, }; diff --git a/node/primitives/src/approval.rs b/node/primitives/src/approval.rs index 73d132a851b9..5c644fc39fa5 100644 --- a/node/primitives/src/approval.rs +++ b/node/primitives/src/approval.rs @@ -24,7 +24,7 @@ use polkadot_primitives::v1::{ BlockNumber, CandidateHash, CandidateIndex, CoreIndex, Hash, Header, ValidatorIndex, ValidatorSignature, }; -use sp_application_crypto::Public; +use sp_application_crypto::ByteArray; use sp_consensus_babe as babe_primitives; /// Validators assigning to check a particular candidate are split up into tranches. diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index 19d82f0d0841..7c2bc27785a4 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -541,7 +541,7 @@ fn westend_staging_testnet_config_genesis(wasm_binary: &[u8]) -> westend::Genesi im_online: Default::default(), authority_discovery: westend::AuthorityDiscoveryConfig { keys: vec![] }, vesting: westend::VestingConfig { vesting: vec![] }, - sudo: westend::SudoConfig { key: endowed_accounts[0].clone() }, + sudo: westend::SudoConfig { key: Some(endowed_accounts[0].clone()) }, hrmp: Default::default(), configuration: westend::ConfigurationConfig { config: default_parachains_host_configuration(), @@ -1034,7 +1034,7 @@ fn rococo_staging_testnet_config_genesis(wasm_binary: &[u8]) -> rococo_runtime:: collective: Default::default(), membership: Default::default(), authority_discovery: rococo_runtime::AuthorityDiscoveryConfig { keys: vec![] }, - sudo: rococo_runtime::SudoConfig { key: endowed_accounts[0].clone() }, + sudo: rococo_runtime::SudoConfig { key: Some(endowed_accounts[0].clone()) }, paras: rococo_runtime::ParasConfig { paras: vec![] }, hrmp: Default::default(), configuration: rococo_runtime::ConfigurationConfig { @@ -1470,7 +1470,7 @@ pub fn westend_testnet_genesis( im_online: Default::default(), authority_discovery: westend::AuthorityDiscoveryConfig { keys: vec![] }, vesting: westend::VestingConfig { vesting: vec![] }, - sudo: westend::SudoConfig { key: root_key }, + sudo: westend::SudoConfig { key: Some(root_key) }, hrmp: Default::default(), configuration: westend::ConfigurationConfig { config: default_parachains_host_configuration(), @@ -1541,7 +1541,7 @@ pub fn rococo_testnet_genesis( collective: Default::default(), membership: Default::default(), authority_discovery: rococo_runtime::AuthorityDiscoveryConfig { keys: vec![] }, - sudo: rococo_runtime::SudoConfig { key: root_key.clone() }, + sudo: rococo_runtime::SudoConfig { key: Some(root_key.clone()) }, hrmp: Default::default(), configuration: rococo_runtime::ConfigurationConfig { config: polkadot_runtime_parachains::configuration::HostConfiguration { diff --git a/node/subsystem-util/src/lib.rs b/node/subsystem-util/src/lib.rs index 95fcb8b8178f..b06ffe6ba600 100644 --- a/node/subsystem-util/src/lib.rs +++ b/node/subsystem-util/src/lib.rs @@ -56,7 +56,7 @@ use polkadot_primitives::v1::{ ValidationCodeHash, ValidatorId, ValidatorIndex, ValidatorSignature, }; use sp_application_crypto::AppKey; -use sp_core::{traits::SpawnNamed, Public}; +use sp_core::{traits::SpawnNamed, ByteArray}; use sp_keystore::{CryptoStore, Error as KeystoreError, SyncCryptoStorePtr}; use std::{ collections::{hash_map::Entry, HashMap}, diff --git a/node/subsystem-util/src/runtime/mod.rs b/node/subsystem-util/src/runtime/mod.rs index 1e3e898f9ebc..3a1e22a4cc85 100644 --- a/node/subsystem-util/src/runtime/mod.rs +++ b/node/subsystem-util/src/runtime/mod.rs @@ -22,7 +22,7 @@ use lru::LruCache; use parity_scale_codec::Encode; use sp_application_crypto::AppKey; -use sp_core::crypto::Public; +use sp_core::crypto::ByteArray; use sp_keystore::{CryptoStore, SyncCryptoStorePtr}; use polkadot_node_subsystem::{SubsystemContext, SubsystemSender}; diff --git a/node/test/service/src/chain_spec.rs b/node/test/service/src/chain_spec.rs index 5b1d7a3f97d1..6203593f65c3 100644 --- a/node/test/service/src/chain_spec.rs +++ b/node/test/service/src/chain_spec.rs @@ -158,7 +158,7 @@ fn polkadot_testnet_genesis( authority_discovery: runtime::AuthorityDiscoveryConfig { keys: vec![] }, claims: runtime::ClaimsConfig { claims: vec![], vesting: vec![] }, vesting: runtime::VestingConfig { vesting: vec![] }, - sudo: runtime::SudoConfig { key: root_key }, + sudo: runtime::SudoConfig { key: Some(root_key) }, configuration: runtime::ConfigurationConfig { config: polkadot_runtime_parachains::configuration::HostConfiguration { validation_upgrade_frequency: 10u32, diff --git a/node/test/service/tests/call-function.rs b/node/test/service/tests/call-function.rs index 89a124663562..34381ba450fa 100644 --- a/node/test/service/tests/call-function.rs +++ b/node/test/service/tests/call-function.rs @@ -15,7 +15,7 @@ // along with Polkadot. If not, see . use polkadot_test_service::*; -use sp_keyring::Sr25519Keyring::{Alice, Bob}; +use sp_keyring::Sr25519Keyring::{Alice, Bob, Charlie}; #[substrate_test_utils::test] async fn call_function_actually_work() { @@ -23,7 +23,7 @@ async fn call_function_actually_work() { run_validator_node(tokio::runtime::Handle::current(), Alice, || {}, Vec::new(), None); let function = polkadot_test_runtime::Call::Balances(pallet_balances::Call::transfer { - dest: Default::default(), + dest: Charlie.to_account_id().into(), value: 1, }); let output = alice.send_extrinsic(function, Bob).await.unwrap(); diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 715850d58c61..7e8f7bef081d 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -29,7 +29,6 @@ frame-system = { git = "https://github.com/paritytech/substrate", branch = "mast hex-literal = "0.3.4" parity-util-mem = { version = "0.10.0", default-features = false, optional = true } - [features] default = ["std"] std = [ diff --git a/primitives/src/v0.rs b/primitives/src/v0.rs index 3ec50cf4eb2e..c10de3b9a5f8 100644 --- a/primitives/src/v0.rs +++ b/primitives/src/v0.rs @@ -312,7 +312,7 @@ fn check_collator_signature>( /// All data pertaining to the execution of a parachain candidate. #[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo)] -#[cfg_attr(feature = "std", derive(Debug, Default))] +#[cfg_attr(feature = "std", derive(Debug))] pub struct CandidateReceipt { /// The ID of the parachain this is a candidate for. pub parachain_index: Id, @@ -411,7 +411,7 @@ pub struct OmittedValidationData { /// When submitting to the relay-chain, this data should be omitted as it can /// be re-generated from relay-chain state. #[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo)] -#[cfg_attr(feature = "std", derive(Debug, Default))] +#[cfg_attr(feature = "std", derive(Debug))] pub struct AbridgedCandidateReceipt { /// The ID of the parachain this is a candidate for. pub parachain_index: Id, @@ -546,7 +546,7 @@ impl Ord for AbridgedCandidateReceipt { /// A unique descriptor of the candidate receipt, in a lightweight format. #[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo)] -#[cfg_attr(feature = "std", derive(Debug, Default))] +#[cfg_attr(feature = "std", derive(Debug))] pub struct CandidateDescriptor { /// The ID of the para this is a candidate for. pub para_id: Id, @@ -566,7 +566,7 @@ pub struct CandidateDescriptor { /// A collation sent by a collator. #[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo)] -#[cfg_attr(feature = "std", derive(Debug, Default))] +#[cfg_attr(feature = "std", derive(Debug))] pub struct CollationInfo { /// The ID of the parachain this is a candidate for. pub parachain_index: Id, diff --git a/runtime/common/src/auctions.rs b/runtime/common/src/auctions.rs index 9bf0c69815a5..597fe846334e 100644 --- a/runtime/common/src/auctions.rs +++ b/runtime/common/src/auctions.rs @@ -635,16 +635,10 @@ impl Pallet { winning_ranges .into_iter() - .map(|range| { - let mut final_winner = Default::default(); - swap( - &mut final_winner, - winning[range as u8 as usize] - .as_mut() - .expect("none values are filtered out in previous logic; qed"), - ); - let (bidder, para, amount) = final_winner; - (bidder, para, amount, range) + .filter_map(|range| { + winning[range as u8 as usize] + .take() + .map(|(bidder, para, amount)| (bidder, para, amount, range)) }) .collect::>() } diff --git a/runtime/common/src/claims.rs b/runtime/common/src/claims.rs index 11c35939ac23..cb3f3d359a14 100644 --- a/runtime/common/src/claims.rs +++ b/runtime/common/src/claims.rs @@ -633,6 +633,16 @@ where Ok(()) } + fn pre_dispatch( + self, + who: &Self::AccountId, + call: &Self::Call, + info: &DispatchInfoOf, + len: usize, + ) -> Result { + Ok(self.validate(who, call, info, len).map(|_| ())?) + } + // // The weight of this logic is included in the `attest` dispatchable. // diff --git a/runtime/common/src/crowdloan.rs b/runtime/common/src/crowdloan.rs index 894d120c9c93..e2d0dd41762c 100644 --- a/runtime/common/src/crowdloan.rs +++ b/runtime/common/src/crowdloan.rs @@ -858,7 +858,7 @@ mod tests { use sp_keystore::{testing::KeyStore, KeystoreExt}; use sp_runtime::{ testing::Header, - traits::{BlakeTwo256, IdentityLookup}, + traits::{BlakeTwo256, IdentityLookup, TrailingZeroInput}, DispatchResult, }; @@ -1323,7 +1323,8 @@ mod tests { let payload = (0u32, 1u64, 0u64, 49u64); let valid_signature = crypto::create_ed25519_signature(&payload.encode(), pubkey.clone()); - let invalid_signature = MultiSignature::default(); + let invalid_signature = + MultiSignature::decode(&mut TrailingZeroInput::zeroes()).unwrap(); // Invalid signature assert_noop!( @@ -1882,6 +1883,7 @@ mod benchmarking { use super::{Pallet as Crowdloan, *}; use frame_support::{assert_ok, traits::OnInitialize}; use frame_system::RawOrigin; + use sp_core::crypto::UncheckedFrom; use sp_runtime::traits::{Bounded, CheckedSub}; use sp_std::prelude::*; @@ -1960,7 +1962,7 @@ mod benchmarking { let head_data = T::Registrar::worst_head_data(); let validation_code = T::Registrar::worst_validation_code(); - let verifier = account("verifier", 0, 0); + let verifier = MultiSigner::unchecked_from(account::<[u8; 32]>("verifier", 0, 0)); CurrencyOf::::make_free_balance_be(&caller, BalanceOf::::max_value()); T::Registrar::register(caller.clone(), para_id, head_data, validation_code)?; @@ -2048,7 +2050,7 @@ mod benchmarking { let head_data = T::Registrar::worst_head_data(); let validation_code = T::Registrar::worst_validation_code(); - let verifier: MultiSigner = account("verifier", 0, 0); + let verifier = MultiSigner::unchecked_from(account::<[u8; 32]>("verifier", 0, 0)); CurrencyOf::::make_free_balance_be(&caller, BalanceOf::::max_value()); T::Registrar::register(caller.clone(), para_id, head_data, validation_code)?; diff --git a/runtime/common/src/impls.rs b/runtime/common/src/impls.rs index adbc9e663b50..ab8e7e04b527 100644 --- a/runtime/common/src/impls.rs +++ b/runtime/common/src/impls.rs @@ -29,10 +29,9 @@ where ::Event: From>, { fn on_nonzero_unbalanced(amount: NegativeImbalance) { - >::resolve_creating( - &>::author(), - amount, - ); + if let Some(author) = >::author() { + >::resolve_creating(&author, amount); + } } } diff --git a/runtime/common/src/purchase.rs b/runtime/common/src/purchase.rs index 32a11b0a1080..fd0dee4f559f 100644 --- a/runtime/common/src/purchase.rs +++ b/runtime/common/src/purchase.rs @@ -174,7 +174,7 @@ pub mod pallet { // The account that will be used to payout participants of the DOT purchase process. #[pallet::storage] - pub(super) type PaymentAccount = StorageValue<_, T::AccountId, ValueQuery>; + pub(super) type PaymentAccount = StorageValue<_, T::AccountId, OptionQuery>; // The statement purchasers will need to sign to participate. #[pallet::storage] @@ -290,12 +290,14 @@ pub mod pallet { /// /// We reverify all assumptions about the state of an account, and complete the process. /// - /// Origin must match the configured `PaymentAccount`. + /// Origin must match the configured `PaymentAccount` (if it is not configured then this + /// will always fail with `BadOrigin`). #[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`. let payment_account = ensure_signed(origin)?; - ensure!(payment_account == PaymentAccount::::get(), DispatchError::BadOrigin); + let test_against = PaymentAccount::::get().ok_or(DispatchError::BadOrigin)?; + ensure!(payment_account == test_against, DispatchError::BadOrigin); // Account should not have a vesting schedule. ensure!( @@ -363,7 +365,7 @@ pub mod pallet { pub fn set_payment_account(origin: OriginFor, who: T::AccountId) -> DispatchResult { T::ConfigurationOrigin::ensure_origin(origin)?; // Possibly this is worse than having the caller account be the payment account? - PaymentAccount::::set(who.clone()); + PaymentAccount::::put(who.clone()); Self::deposit_event(Event::::PaymentAccountSet(who)); Ok(()) } @@ -712,7 +714,7 @@ mod tests { Origin::signed(configuration_origin()), payment_account.clone() )); - assert_eq!(PaymentAccount::::get(), payment_account); + assert_eq!(PaymentAccount::::get(), Some(payment_account)); }); } diff --git a/runtime/common/src/slots.rs b/runtime/common/src/slots.rs index dc06b674cdaa..8f83dcf55ffa 100644 --- a/runtime/common/src/slots.rs +++ b/runtime/common/src/slots.rs @@ -1111,7 +1111,7 @@ mod benchmarking { trigger_onboard { // get a parachain into a bad state where they did not onboard let (para, _) = register_a_parathread::(1); - Leases::::insert(para, vec![Some((T::AccountId::default(), BalanceOf::::default()))]); + Leases::::insert(para, vec![Some((account::("lease_insert", 0, 0), BalanceOf::::default()))]); assert!(T::Registrar::is_parathread(para)); let caller = whitelisted_caller(); }: _(RawOrigin::Signed(caller), para) diff --git a/runtime/kusama/src/tests.rs b/runtime/kusama/src/tests.rs index d2c1c725e3a9..c81848194fcd 100644 --- a/runtime/kusama/src/tests.rs +++ b/runtime/kusama/src/tests.rs @@ -18,6 +18,7 @@ use crate::*; use frame_support::weights::{GetDispatchInfo, WeightToFeePolynomial}; +use keyring::Sr25519Keyring::Charlie; use pallet_transaction_payment::Multiplier; use parity_scale_codec::Encode; use separator::Separatable; @@ -80,7 +81,7 @@ fn block_cost() { fn transfer_cost_min_multiplier() { let min_multiplier = runtime_common::MinimumMultiplier::get(); let call = pallet_balances::Call::::transfer_keep_alive { - dest: Default::default(), + dest: Charlie.to_account_id().into(), value: Default::default(), }; let info = call.get_dispatch_info(); diff --git a/runtime/parachains/src/builder.rs b/runtime/parachains/src/builder.rs index 05059c537342..b151555c70d3 100644 --- a/runtime/parachains/src/builder.rs +++ b/runtime/parachains/src/builder.rs @@ -32,7 +32,7 @@ use primitives::v1::{ use sp_core::{sr25519, H256}; use sp_runtime::{ generic::Digest, - traits::{Header as HeaderT, One, Zero}, + traits::{Header as HeaderT, One, TrailingZeroInput, Zero}, RuntimeAppPublic, }; use sp_std::{collections::btree_map::BTreeMap, convert::TryInto, prelude::Vec, vec}; @@ -45,9 +45,10 @@ fn mock_validation_code() -> ValidationCode { /// /// This is directly from frame-benchmarking. Copy/pasted so we can use it when not compiling with /// "features = runtime-benchmarks". -fn account(name: &'static str, index: u32, seed: u32) -> AccountId { +fn account(name: &'static str, index: u32, seed: u32) -> AccountId { let entropy = (name, index, seed).using_encoded(sp_io::hashing::blake2_256); - AccountId::decode(&mut &entropy[..]).expect("256 bit input is valid. qed.") + AccountId::decode(&mut TrailingZeroInput::new(&entropy[..])) + .expect("infinite input; no invalid input; qed") } /// Create a 32 byte slice based on the given number. diff --git a/runtime/parachains/src/paras_inherent/tests.rs b/runtime/parachains/src/paras_inherent/tests.rs index 713a313dd9c6..78ee03829be4 100644 --- a/runtime/parachains/src/paras_inherent/tests.rs +++ b/runtime/parachains/src/paras_inherent/tests.rs @@ -704,6 +704,7 @@ mod sanitizers { AvailabilityBitfield, GroupIndex, Hash, Id as ParaId, SignedAvailabilityBitfield, ValidatorIndex, }; + use sp_core::crypto::UncheckedFrom; use crate::mock::Test; use futures::executor::block_on; @@ -921,14 +922,13 @@ mod sanitizers { // check the validators signature { - use primitives::v1::ValidatorSignature; let mut unchecked_bitfields = unchecked_bitfields.clone(); // insert a bad signature for the last bitfield let last_bit_idx = unchecked_bitfields.len() - 1; unchecked_bitfields .get_mut(last_bit_idx) - .and_then(|u| Some(u.set_signature(ValidatorSignature::default()))) + .and_then(|u| Some(u.set_signature(UncheckedFrom::unchecked_from([1u8; 64])))) .expect("we are accessing a valid index"); assert_eq!( &sanitize_bitfields::( diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index a05e74c87b28..7ffe5379c751 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -2086,8 +2086,8 @@ sp_api::impl_runtime_apis! { mod test_fees { use super::*; use frame_support::weights::{GetDispatchInfo, WeightToFeePolynomial}; + use keyring::Sr25519Keyring::Charlie; use pallet_transaction_payment::Multiplier; - use parity_scale_codec::Encode; use separator::Separatable; use sp_runtime::{assert_eq_error_rate, FixedPointNumber}; @@ -2127,7 +2127,7 @@ mod test_fees { fn transfer_cost_min_multiplier() { let min_multiplier = runtime_common::MinimumMultiplier::get(); let call = pallet_balances::Call::::transfer_keep_alive { - dest: Default::default(), + dest: Charlie.to_account_id().into(), value: Default::default(), }; let info = call.get_dispatch_info(); diff --git a/runtime/rococo/src/bridge_messages.rs b/runtime/rococo/src/bridge_messages.rs index f2bb363e72ed..32b6aad29979 100644 --- a/runtime/rococo/src/bridge_messages.rs +++ b/runtime/rococo/src/bridge_messages.rs @@ -376,7 +376,8 @@ mod tests { use super::*; use bp_messages::{target_chain::ProvedLaneMessages, MessageData, MessageKey}; use bridge_runtime_common::messages; - use parity_scale_codec::Encode; + use parity_scale_codec::{Decode, Encode}; + use sp_runtime::traits::TrailingZeroInput; #[test] fn ensure_rococo_messages_weights_are_correct() { @@ -452,9 +453,10 @@ mod tests { primitives::v1::Balance::MAX, ), ); - let extra_bytes_in_transaction = crate::Address::default().encoded_size() + - crate::Signature::default().encoded_size() + - signed_extra.encoded_size(); + let mut zeroes = TrailingZeroInput::zeroes(); + let extra_bytes_in_transaction = signed_extra.encoded_size() + + crate::Address::decode(&mut zeroes).unwrap().encoded_size() + + crate::Signature::decode(&mut zeroes).unwrap().encoded_size(); assert!( TX_EXTRA_BYTES as usize >= extra_bytes_in_transaction, "Hardcoded number of extra bytes in Rococo transaction {} is lower than actual value: {}",