From 64cbdc62a1febc8add0da09aebf64f93eda92711 Mon Sep 17 00:00:00 2001 From: Egor_P Date: Wed, 3 May 2023 14:13:06 +0200 Subject: [PATCH] Update polkadot dependencies (#2509) * Update polkadot dependencies * fix formatting error --- Cargo.lock | 134 +++++++++++++++++++------------------- client/network/src/lib.rs | 27 ++++---- 2 files changed, 80 insertions(+), 81 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 790c09ba78..07488d8965 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4726,7 +4726,7 @@ checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" [[package]] name = "kusama-runtime" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bitvec", "frame-benchmarking", @@ -4824,7 +4824,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "frame-support", "polkadot-primitives", @@ -7320,7 +7320,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -7341,7 +7341,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "frame-benchmarking", "frame-support", @@ -7890,7 +7890,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "futures", "polkadot-node-jaeger", @@ -7906,7 +7906,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "futures", "polkadot-node-network-protocol", @@ -7920,7 +7920,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "derive_more", "fatality", @@ -7943,7 +7943,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "fatality", "futures", @@ -7964,7 +7964,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "clap 4.2.3", "frame-benchmarking-cli", @@ -7993,7 +7993,7 @@ dependencies = [ [[package]] name = "polkadot-client" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "async-trait", "frame-benchmarking", @@ -8036,7 +8036,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "always-assert", "bitvec", @@ -8058,7 +8058,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "parity-scale-codec", "scale-info", @@ -8070,7 +8070,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "derive_more", "fatality", @@ -8095,7 +8095,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -8109,7 +8109,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "futures", "futures-timer", @@ -8129,7 +8129,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "always-assert", "async-trait", @@ -8152,7 +8152,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "futures", "parity-scale-codec", @@ -8170,7 +8170,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bitvec", "derive_more", @@ -8199,7 +8199,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bitvec", "futures", @@ -8220,7 +8220,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bitvec", "fatality", @@ -8239,7 +8239,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "futures", "polkadot-node-subsystem", @@ -8254,7 +8254,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "async-trait", "futures", @@ -8274,7 +8274,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "futures", "polkadot-node-metrics", @@ -8289,7 +8289,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "futures", "futures-timer", @@ -8306,7 +8306,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "fatality", "futures", @@ -8325,7 +8325,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "async-trait", "futures", @@ -8342,7 +8342,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bitvec", "fatality", @@ -8360,7 +8360,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "always-assert", "futures", @@ -8387,7 +8387,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "futures", "polkadot-node-primitives", @@ -8403,7 +8403,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-worker" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "assert_matches", "cpu-time", @@ -8432,7 +8432,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "futures", "lru 0.9.0", @@ -8447,7 +8447,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "lazy_static", "log", @@ -8465,7 +8465,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bs58", "futures", @@ -8484,7 +8484,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "async-trait", "derive_more", @@ -8506,7 +8506,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bounded-vec", "futures", @@ -8528,7 +8528,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -8538,7 +8538,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-test-helpers" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "async-trait", "futures", @@ -8556,7 +8556,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "async-trait", "derive_more", @@ -8579,7 +8579,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "async-trait", "derive_more", @@ -8612,7 +8612,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "async-trait", "futures", @@ -8635,7 +8635,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bounded-collections", "derive_more", @@ -8733,7 +8733,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -8751,7 +8751,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -8777,7 +8777,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -8809,7 +8809,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bitvec", "frame-benchmarking", @@ -8903,7 +8903,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bitvec", "frame-benchmarking", @@ -8949,7 +8949,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "frame-support", "polkadot-primitives", @@ -8963,7 +8963,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bs58", "parity-scale-codec", @@ -8975,7 +8975,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bitflags", "bitvec", @@ -9019,7 +9019,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "async-trait", "frame-benchmarking-cli", @@ -9129,7 +9129,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "arrayvec 0.5.2", "fatality", @@ -9150,7 +9150,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -9160,7 +9160,7 @@ dependencies = [ [[package]] name = "polkadot-test-client" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "parity-scale-codec", "polkadot-node-subsystem", @@ -9185,7 +9185,7 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bitvec", "frame-election-provider-support", @@ -9246,7 +9246,7 @@ dependencies = [ [[package]] name = "polkadot-test-service" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "frame-benchmarking", "frame-system", @@ -10002,7 +10002,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -10088,7 +10088,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "frame-support", "polkadot-primitives", @@ -11940,7 +11940,7 @@ checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" [[package]] name = "slot-range-helper" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "enumn", "parity-scale-codec", @@ -13283,7 +13283,7 @@ checksum = "13a4ec180a2de59b57434704ccfad967f789b12737738798fa08798cd5824c16" [[package]] name = "test-runtime-constants" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "frame-support", "polkadot-primitives", @@ -13660,7 +13660,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -13671,7 +13671,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "expander 2.0.0", "proc-macro-crate", @@ -14735,7 +14735,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bitvec", "frame-benchmarking", @@ -14827,7 +14827,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "frame-support", "polkadot-primitives", @@ -15329,7 +15329,7 @@ dependencies = [ [[package]] name = "xcm" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "bounded-collections", "derivative", @@ -15345,7 +15345,7 @@ dependencies = [ [[package]] name = "xcm-builder" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "frame-support", "frame-system", @@ -15366,7 +15366,7 @@ dependencies = [ [[package]] name = "xcm-executor" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "environmental", "frame-benchmarking", @@ -15386,7 +15386,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.9.42" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#779640f89234678e90eed48c99e79a86c91f28d9" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.42#d717d13a3c6eb50661abcbcf2c8f19665fb3ab26" dependencies = [ "Inflector", "proc-macro2", diff --git a/client/network/src/lib.rs b/client/network/src/lib.rs index 5a2043ab5f..e226170d7c 100644 --- a/client/network/src/lib.rs +++ b/client/network/src/lib.rs @@ -89,14 +89,13 @@ impl BlockAnnounceData { /// /// This will not check the signature, for this you should use [`BlockAnnounceData::check_signature`]. fn validate(&self, encoded_header: Vec) -> Result<(), Validation> { - let candidate_hash = if let CompactStatement::Seconded(h) = - self.statement.unchecked_payload() - { - h - } else { - tracing::debug!(target: LOG_TARGET, "`CompactStatement` isn't the candidate variant!",); - return Err(Validation::Failure { disconnect: true }) - }; + let candidate_hash = + if let CompactStatement::Seconded(h) = self.statement.unchecked_payload() { + h + } else { + tracing::debug!(target: LOG_TARGET, "`CompactStatement` isn't the candidate variant!",); + return Err(Validation::Failure { disconnect: true }) + }; if *candidate_hash != self.receipt.hash() { tracing::debug!( @@ -303,9 +302,9 @@ where Ok(Validation::Success { is_new_best: true }) } else if block_number >= known_best_number { tracing::debug!( - target: LOG_TARGET, - "Validation failed because a justification is needed if the block at the top of the chain." - ); + target: LOG_TARGET, + "Validation failed because a justification is needed if the block at the top of the chain." + ); Ok(Validation::Failure { disconnect: false }) } else { @@ -334,9 +333,9 @@ where let relay_chain_is_syncing = relay_chain_interface .is_major_syncing() .await - .map_err(|e| { - tracing::error!(target: LOG_TARGET, "Unable to determine sync status. {}", e) - }) + .map_err( + |e| tracing::error!(target: LOG_TARGET, "Unable to determine sync status. {}", e), + ) .unwrap_or(false); if relay_chain_is_syncing {