From 29f12f3f4801b24349dbaf7d43cd8c39cdef55c2 Mon Sep 17 00:00:00 2001
From: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Date: Fri, 29 Jan 2021 14:35:45 +0100
Subject: [PATCH] Upgrade codec to 2.0 and bitvec to 0.20 (companion) (#2343)

* upgrade codec and bitvec

* "Update Substrate"

Co-authored-by: parity-processbot <>
---
 polkadot/Cargo.lock                           | 372 +++++++++---------
 polkadot/core-primitives/Cargo.toml           |   4 +-
 polkadot/erasure-coding/Cargo.toml            |   2 +-
 polkadot/node/core/approval-voting/Cargo.toml |   4 +-
 polkadot/node/core/av-store/Cargo.toml        |  10 +-
 polkadot/node/core/av-store/src/lib.rs        |  10 +-
 polkadot/node/core/backing/Cargo.toml         |   2 +-
 polkadot/node/core/backing/src/lib.rs         |   5 +-
 .../node/core/candidate-validation/Cargo.toml |   2 +-
 polkadot/node/core/provisioner/Cargo.toml     |   2 +-
 polkadot/node/core/provisioner/src/lib.rs     |   2 +-
 polkadot/node/core/runtime-api/Cargo.toml     |   2 +-
 .../availability-distribution/Cargo.toml      |   2 +-
 .../network/bitfield-distribution/Cargo.toml  |   4 +-
 polkadot/node/network/bridge/Cargo.toml       |   2 +-
 polkadot/node/network/bridge/src/lib.rs       |   4 +-
 polkadot/node/network/protocol/Cargo.toml     |   2 +-
 polkadot/node/network/protocol/src/lib.rs     |  36 +-
 polkadot/node/primitives/Cargo.toml           |   2 +-
 polkadot/node/primitives/src/lib.rs           |   6 +-
 .../node/subsystem-test-helpers/Cargo.toml    |   2 +-
 polkadot/node/subsystem-util/Cargo.toml       |   2 +-
 polkadot/node/subsystem/Cargo.toml            |   2 +-
 polkadot/node/test/client/Cargo.toml          |   2 +-
 polkadot/parachain/Cargo.toml                 |   4 +-
 polkadot/parachain/test-parachains/Cargo.toml |   2 +-
 .../test-parachains/adder/Cargo.toml          |   2 +-
 .../test-parachains/adder/collator/Cargo.toml |   2 +-
 polkadot/primitives/Cargo.toml                |   6 +-
 polkadot/primitives/src/v0.rs                 |  10 +-
 polkadot/primitives/src/v1.rs                 |  18 +-
 polkadot/rpc/Cargo.toml                       |   2 +-
 polkadot/runtime/common/Cargo.toml            |   4 +-
 polkadot/runtime/kusama/Cargo.toml            |   4 +-
 polkadot/runtime/parachains/Cargo.toml        |   4 +-
 polkadot/runtime/polkadot/Cargo.toml          |   4 +-
 polkadot/runtime/rococo/Cargo.toml            |   2 +-
 polkadot/runtime/test-runtime/Cargo.toml      |   4 +-
 polkadot/runtime/westend/Cargo.toml           |   4 +-
 polkadot/statement-table/Cargo.toml           |   2 +-
 polkadot/statement-table/src/generic.rs       |   6 +-
 polkadot/xcm/Cargo.toml                       |   2 +-
 polkadot/xcm/xcm-builder/Cargo.toml           |   2 +-
 polkadot/xcm/xcm-executor/Cargo.toml          |   2 +-
 44 files changed, 297 insertions(+), 272 deletions(-)

diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock
index 581db1b4f74..b2924296479 100644
--- a/polkadot/Cargo.lock
+++ b/polkadot/Cargo.lock
@@ -446,12 +446,14 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
 
 [[package]]
 name = "bitvec"
-version = "0.17.4"
+version = "0.20.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41262f11d771fd4a61aa3ce019fca363b4b6c282fca9da2a31186d3965a47a5c"
+checksum = "f5011ffc90248764d7005b0e10c7294f5aa1bd87d9dd7248f4ad475b347c294d"
 dependencies = [
- "either",
+ "funty",
  "radium",
+ "tap",
+ "wyz",
 ]
 
 [[package]]
@@ -580,9 +582,9 @@ checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820"
 
 [[package]]
 name = "byte-slice-cast"
-version = "0.3.5"
+version = "1.0.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0a5e3906bcbf133e33c1d4d95afc664ad37fbdb9f6568d8043e7ea8c27d93d3"
+checksum = "65c1bf4a04a88c54f589125563643d773f3254b5c38571395e2b591c693bbc81"
 
 [[package]]
 name = "byte-tools"
@@ -1319,9 +1321,9 @@ dependencies = [
 
 [[package]]
 name = "ethbloom"
-version = "0.10.0"
+version = "0.11.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22a621dcebea74f2a6f2002d0a885c81ccf6cbdf86760183316a7722b5707ca4"
+checksum = "779864b9c7f7ead1f092972c3257496c6a84b46dba2ce131dd8a282cb2cc5972"
 dependencies = [
  "crunchy",
  "fixed-hash",
@@ -1332,9 +1334,9 @@ dependencies = [
 
 [[package]]
 name = "ethereum-types"
-version = "0.10.0"
+version = "0.11.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05dc5f0df4915fa6dff7f975a8366ecfaaa8959c74235469495153e7bb1b280e"
+checksum = "f64b5df66a228d85e4b17e5d6c6aa43b0310898ffe8a85988c4c032357aaabfd"
 dependencies = [
  "ethbloom",
  "fixed-hash",
@@ -1449,17 +1451,17 @@ dependencies = [
 
 [[package]]
 name = "finality-grandpa"
-version = "0.12.3"
+version = "0.13.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8feb87a63249689640ac9c011742c33139204e3c134293d3054022276869133b"
+checksum = "2cd795898c348a8ec9edc66ec9e014031c764d4c88cc26d09b492cd93eb41339"
 dependencies = [
  "either",
  "futures 0.3.12",
- "futures-timer 2.0.2",
+ "futures-timer 3.0.2",
  "log",
  "num-traits 0.2.14",
  "parity-scale-codec",
- "parking_lot 0.9.0",
+ "parking_lot 0.11.1",
 ]
 
 [[package]]
@@ -1502,7 +1504,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
 [[package]]
 name = "fork-tree"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
 ]
@@ -1520,7 +1522,7 @@ dependencies = [
 [[package]]
 name = "frame-benchmarking"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -1538,7 +1540,7 @@ dependencies = [
 [[package]]
 name = "frame-benchmarking-cli"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "Inflector",
  "chrono",
@@ -1561,7 +1563,7 @@ dependencies = [
 [[package]]
 name = "frame-executive"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -1577,7 +1579,7 @@ dependencies = [
 [[package]]
 name = "frame-metadata"
 version = "12.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "serde",
@@ -1588,7 +1590,7 @@ dependencies = [
 [[package]]
 name = "frame-support"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "bitflags",
  "frame-metadata",
@@ -1613,7 +1615,7 @@ dependencies = [
 [[package]]
 name = "frame-support-procedural"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "Inflector",
  "frame-support-procedural-tools",
@@ -1625,7 +1627,7 @@ dependencies = [
 [[package]]
 name = "frame-support-procedural-tools"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support-procedural-tools-derive",
  "proc-macro-crate",
@@ -1637,7 +1639,7 @@ dependencies = [
 [[package]]
 name = "frame-support-procedural-tools-derive"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "proc-macro2 1.0.24",
  "quote 1.0.7",
@@ -1647,7 +1649,7 @@ dependencies = [
 [[package]]
 name = "frame-system"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "impl-trait-for-tuples 0.2.0",
@@ -1663,7 +1665,7 @@ dependencies = [
 [[package]]
 name = "frame-system-benchmarking"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -1677,7 +1679,7 @@ dependencies = [
 [[package]]
 name = "frame-system-rpc-runtime-api"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "sp-api",
@@ -1685,9 +1687,9 @@ dependencies = [
 
 [[package]]
 name = "fs-swap"
-version = "0.2.4"
+version = "0.2.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "921d332c89b3b61a826de38c61ee5b6e02c56806cade1b0e5d81bd71f57a71bb"
+checksum = "5839fda247e24ca4919c87c71dd5ca658f1f39e4f06829f80e3f15c3bafcfc2c"
 dependencies = [
  "lazy_static",
  "libc",
@@ -1723,6 +1725,12 @@ version = "0.3.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
 
+[[package]]
+name = "funty"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7"
+
 [[package]]
 name = "futures"
 version = "0.1.29"
@@ -2370,9 +2378,9 @@ dependencies = [
 
 [[package]]
 name = "impl-codec"
-version = "0.4.2"
+version = "0.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1be51a921b067b0eaca2fad532d9400041561aa922221cc65f95a85641c6bf53"
+checksum = "df170efa359aebdd5cb7fe78edcc67107748e4737bdca8a8fb40d15ea7a877ed"
 dependencies = [
  "parity-scale-codec",
 ]
@@ -2777,9 +2785,9 @@ dependencies = [
 
 [[package]]
 name = "kvdb"
-version = "0.8.0"
+version = "0.9.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92312348daade49976a6dc59263ad39ed54f840aacb5664874f7c9aa16e5f848"
+checksum = "8891bd853eff90e33024195d79d578dc984c82f9e0715fcd2b525a0c19d52811"
 dependencies = [
  "parity-util-mem",
  "smallvec 1.6.1",
@@ -2787,9 +2795,9 @@ dependencies = [
 
 [[package]]
 name = "kvdb-memorydb"
-version = "0.8.0"
+version = "0.9.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "986052a8d16c692eaebe775391f9a3ac26714f3907132658500b601dec94c8c2"
+checksum = "30a0da8e08caf08d384a620ec19bb6c9b85c84137248e202617fb91881f25912"
 dependencies = [
  "kvdb",
  "parity-util-mem",
@@ -2798,9 +2806,9 @@ dependencies = [
 
 [[package]]
 name = "kvdb-rocksdb"
-version = "0.10.0"
+version = "0.11.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d92c36be64baba5ea549116ff0d7ffd445456a7be8aaee21ec05882b980cd11"
+checksum = "34446c373ccc494c2124439281c198c7636ccdc2752c06722bbffd56d459c1e4"
 dependencies = [
  "fs-swap",
  "kvdb",
@@ -2816,9 +2824,9 @@ dependencies = [
 
 [[package]]
 name = "kvdb-web"
-version = "0.8.0"
+version = "0.9.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f7bfe11b3202691673766b1224c432996f6b8047db17ceb743675bef3404e714"
+checksum = "eb1e98ba343d0b35f9009a8844cd2b87fa3192f7e79033ac05b00aeae0f3b0b5"
 dependencies = [
  "futures 0.3.12",
  "js-sys",
@@ -3465,9 +3473,9 @@ dependencies = [
 
 [[package]]
 name = "memory-db"
-version = "0.25.0"
+version = "0.26.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6cbd2a22f201c03cc1706a727842490abfea17b7b53260358239828208daba3c"
+checksum = "814bbecfc0451fc314eeea34f05bbcd5b98a7ad7af37faee088b86a1e633f1d4"
 dependencies = [
  "hash-db",
  "hashbrown",
@@ -3942,7 +3950,7 @@ checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b"
 [[package]]
 name = "pallet-authority-discovery"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -3958,7 +3966,7 @@ dependencies = [
 [[package]]
 name = "pallet-authorship"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -3973,7 +3981,7 @@ dependencies = [
 [[package]]
 name = "pallet-babe"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -3998,7 +4006,7 @@ dependencies = [
 [[package]]
 name = "pallet-balances"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4012,7 +4020,7 @@ dependencies = [
 [[package]]
 name = "pallet-bounties"
 version = "2.0.0"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4027,7 +4035,7 @@ dependencies = [
 [[package]]
 name = "pallet-collective"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4043,7 +4051,7 @@ dependencies = [
 [[package]]
 name = "pallet-democracy"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4058,7 +4066,7 @@ dependencies = [
 [[package]]
 name = "pallet-elections-phragmen"
 version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4073,7 +4081,7 @@ dependencies = [
 [[package]]
 name = "pallet-grandpa"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4094,7 +4102,7 @@ dependencies = [
 [[package]]
 name = "pallet-identity"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "enumflags2",
  "frame-benchmarking",
@@ -4110,7 +4118,7 @@ dependencies = [
 [[package]]
 name = "pallet-im-online"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4130,7 +4138,7 @@ dependencies = [
 [[package]]
 name = "pallet-indices"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4147,7 +4155,7 @@ dependencies = [
 [[package]]
 name = "pallet-membership"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -4161,7 +4169,7 @@ dependencies = [
 [[package]]
 name = "pallet-multisig"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4177,7 +4185,7 @@ dependencies = [
 [[package]]
 name = "pallet-nicks"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -4191,7 +4199,7 @@ dependencies = [
 [[package]]
 name = "pallet-offences"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -4206,7 +4214,7 @@ dependencies = [
 [[package]]
 name = "pallet-offences-benchmarking"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4227,7 +4235,7 @@ dependencies = [
 [[package]]
 name = "pallet-proxy"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4243,7 +4251,7 @@ dependencies = [
 [[package]]
 name = "pallet-randomness-collective-flip"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -4256,7 +4264,7 @@ dependencies = [
 [[package]]
 name = "pallet-recovery"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "enumflags2",
  "frame-support",
@@ -4271,7 +4279,7 @@ dependencies = [
 [[package]]
 name = "pallet-scheduler"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4286,7 +4294,7 @@ dependencies = [
 [[package]]
 name = "pallet-session"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -4306,7 +4314,7 @@ dependencies = [
 [[package]]
 name = "pallet-session-benchmarking"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4322,7 +4330,7 @@ dependencies = [
 [[package]]
 name = "pallet-society"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -4336,7 +4344,7 @@ dependencies = [
 [[package]]
 name = "pallet-staking"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4358,7 +4366,7 @@ dependencies = [
 [[package]]
 name = "pallet-staking-reward-curve"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "proc-macro-crate",
  "proc-macro2 1.0.24",
@@ -4369,7 +4377,7 @@ dependencies = [
 [[package]]
 name = "pallet-sudo"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -4383,7 +4391,7 @@ dependencies = [
 [[package]]
 name = "pallet-timestamp"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4401,7 +4409,7 @@ dependencies = [
 [[package]]
 name = "pallet-tips"
 version = "2.0.0"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4416,7 +4424,7 @@ dependencies = [
 [[package]]
 name = "pallet-transaction-payment"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -4432,7 +4440,7 @@ dependencies = [
 [[package]]
 name = "pallet-transaction-payment-rpc"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "jsonrpc-core",
  "jsonrpc-core-client",
@@ -4449,7 +4457,7 @@ dependencies = [
 [[package]]
 name = "pallet-transaction-payment-rpc-runtime-api"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "pallet-transaction-payment",
  "parity-scale-codec",
@@ -4460,7 +4468,7 @@ dependencies = [
 [[package]]
 name = "pallet-treasury"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4476,7 +4484,7 @@ dependencies = [
 [[package]]
 name = "pallet-utility"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -4492,7 +4500,7 @@ dependencies = [
 [[package]]
 name = "pallet-vesting"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "enumflags2",
  "frame-benchmarking",
@@ -4538,9 +4546,9 @@ dependencies = [
 
 [[package]]
 name = "parity-scale-codec"
-version = "1.3.6"
+version = "2.0.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79602888a81ace83e3d1d4b2873286c1f5f906c84db667594e8db8da3506c383"
+checksum = "75c823fdae1bb5ff5708ee61a62697e6296175dc671710876871c853f48592b3"
 dependencies = [
  "arrayvec 0.5.2",
  "bitvec",
@@ -4551,9 +4559,9 @@ dependencies = [
 
 [[package]]
 name = "parity-scale-codec-derive"
-version = "1.2.2"
+version = "2.0.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "198db82bb1c18fc00176004462dd809b2a6d851669550aa17af6dacd21ae0c14"
+checksum = "9029e65297c7fd6d7013f0579e193ec2b34ae78eabca854c9417504ad8a2d214"
 dependencies = [
  "proc-macro-crate",
  "proc-macro2 1.0.24",
@@ -4588,9 +4596,9 @@ dependencies = [
 
 [[package]]
 name = "parity-util-mem"
-version = "0.8.0"
+version = "0.9.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f17f15cb05897127bf36a240085a1f0bbef7bce3024849eccf7f93f6171bc27"
+checksum = "664a8c6b8e62d8f9f2f937e391982eb433ab285b4cd9545b342441e04a906e42"
 dependencies = [
  "cfg-if 1.0.0",
  "ethereum-types",
@@ -6075,9 +6083,9 @@ dependencies = [
 
 [[package]]
 name = "primitive-types"
-version = "0.8.0"
+version = "0.9.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3824ae2c5e27160113b9e029a10ec9e3f0237bad8029f69c7724393c9fdefd8"
+checksum = "2415937401cb030a2a0a4d922483f945fa068f52a7dbb22ce0fe5f2b6f6adace"
 dependencies = [
  "fixed-hash",
  "impl-codec",
@@ -6291,9 +6299,9 @@ dependencies = [
 
 [[package]]
 name = "radium"
-version = "0.3.0"
+version = "0.6.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "def50a86306165861203e7f84ecffbbdfdea79f0e51039b33de1e952358c47ac"
+checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb"
 
 [[package]]
 name = "rand"
@@ -6832,7 +6840,7 @@ dependencies = [
 [[package]]
 name = "sc-authority-discovery"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "async-trait",
  "derive_more",
@@ -6860,7 +6868,7 @@ dependencies = [
 [[package]]
 name = "sc-basic-authorship"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.3.12",
  "futures-timer 3.0.2",
@@ -6883,7 +6891,7 @@ dependencies = [
 [[package]]
 name = "sc-block-builder"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "sc-client-api",
@@ -6900,7 +6908,7 @@ dependencies = [
 [[package]]
 name = "sc-chain-spec"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "impl-trait-for-tuples 0.2.0",
  "parity-scale-codec",
@@ -6921,7 +6929,7 @@ dependencies = [
 [[package]]
 name = "sc-chain-spec-derive"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "proc-macro-crate",
  "proc-macro2 1.0.24",
@@ -6932,7 +6940,7 @@ dependencies = [
 [[package]]
 name = "sc-cli"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "chrono",
  "fdlimit",
@@ -6970,7 +6978,7 @@ dependencies = [
 [[package]]
 name = "sc-client-api"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "derive_more",
  "fnv",
@@ -7004,7 +7012,7 @@ dependencies = [
 [[package]]
 name = "sc-client-db"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "blake2-rfc",
  "hash-db",
@@ -7034,7 +7042,7 @@ dependencies = [
 [[package]]
 name = "sc-consensus"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "sc-client-api",
  "sp-blockchain",
@@ -7045,7 +7053,7 @@ dependencies = [
 [[package]]
 name = "sc-consensus-babe"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "derive_more",
  "fork-tree",
@@ -7091,7 +7099,7 @@ dependencies = [
 [[package]]
 name = "sc-consensus-babe-rpc"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "derive_more",
  "futures 0.3.12",
@@ -7115,7 +7123,7 @@ dependencies = [
 [[package]]
 name = "sc-consensus-epochs"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "fork-tree",
  "parity-scale-codec",
@@ -7128,7 +7136,7 @@ dependencies = [
 [[package]]
 name = "sc-consensus-slots"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.3.12",
  "futures-timer 3.0.2",
@@ -7154,7 +7162,7 @@ dependencies = [
 [[package]]
 name = "sc-consensus-uncles"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "log",
  "sc-client-api",
@@ -7168,7 +7176,7 @@ dependencies = [
 [[package]]
 name = "sc-executor"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "derive_more",
  "lazy_static",
@@ -7197,7 +7205,7 @@ dependencies = [
 [[package]]
 name = "sc-executor-common"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "derive_more",
  "parity-scale-codec",
@@ -7213,7 +7221,7 @@ dependencies = [
 [[package]]
 name = "sc-executor-wasmi"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "log",
  "parity-scale-codec",
@@ -7228,7 +7236,7 @@ dependencies = [
 [[package]]
 name = "sc-executor-wasmtime"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "log",
  "parity-scale-codec",
@@ -7246,7 +7254,7 @@ dependencies = [
 [[package]]
 name = "sc-finality-grandpa"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "derive_more",
  "finality-grandpa",
@@ -7284,7 +7292,7 @@ dependencies = [
 [[package]]
 name = "sc-finality-grandpa-rpc"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "derive_more",
  "finality-grandpa",
@@ -7308,7 +7316,7 @@ dependencies = [
 [[package]]
 name = "sc-finality-grandpa-warp-sync"
 version = "0.8.0"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "derive_more",
  "futures 0.3.12",
@@ -7328,7 +7336,7 @@ dependencies = [
 [[package]]
 name = "sc-informant"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "ansi_term 0.12.1",
  "futures 0.3.12",
@@ -7346,7 +7354,7 @@ dependencies = [
 [[package]]
 name = "sc-keystore"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "async-trait",
  "derive_more",
@@ -7366,7 +7374,7 @@ dependencies = [
 [[package]]
 name = "sc-light"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "hash-db",
  "lazy_static",
@@ -7385,7 +7393,7 @@ dependencies = [
 [[package]]
 name = "sc-network"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "async-std",
  "async-trait",
@@ -7437,7 +7445,7 @@ dependencies = [
 [[package]]
 name = "sc-network-gossip"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.3.12",
  "futures-timer 3.0.2",
@@ -7453,7 +7461,7 @@ dependencies = [
 [[package]]
 name = "sc-offchain"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "bytes 0.5.6",
  "fnv",
@@ -7480,7 +7488,7 @@ dependencies = [
 [[package]]
 name = "sc-peerset"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.3.12",
  "libp2p",
@@ -7493,7 +7501,7 @@ dependencies = [
 [[package]]
 name = "sc-proposer-metrics"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "log",
  "substrate-prometheus-endpoint",
@@ -7502,7 +7510,7 @@ dependencies = [
 [[package]]
 name = "sc-rpc"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.3.12",
  "hash-db",
@@ -7536,7 +7544,7 @@ dependencies = [
 [[package]]
 name = "sc-rpc-api"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "derive_more",
  "futures 0.3.12",
@@ -7560,7 +7568,7 @@ dependencies = [
 [[package]]
 name = "sc-rpc-server"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.1.29",
  "jsonrpc-core",
@@ -7578,7 +7586,7 @@ dependencies = [
 [[package]]
 name = "sc-service"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "directories 3.0.1",
  "exit-future",
@@ -7641,7 +7649,7 @@ dependencies = [
 [[package]]
 name = "sc-state-db"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "log",
  "parity-scale-codec",
@@ -7656,7 +7664,7 @@ dependencies = [
 [[package]]
 name = "sc-sync-state-rpc"
 version = "0.8.0"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "jsonrpc-core",
  "jsonrpc-core-client",
@@ -7676,7 +7684,7 @@ dependencies = [
 [[package]]
 name = "sc-telemetry"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "chrono",
  "futures 0.3.12",
@@ -7698,7 +7706,7 @@ dependencies = [
 [[package]]
 name = "sc-tracing"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "ansi_term 0.12.1",
  "atty",
@@ -7726,7 +7734,7 @@ dependencies = [
 [[package]]
 name = "sc-tracing-proc-macro"
 version = "2.0.0"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "proc-macro-crate",
  "proc-macro2 1.0.24",
@@ -7737,7 +7745,7 @@ dependencies = [
 [[package]]
 name = "sc-transaction-graph"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "derive_more",
  "futures 0.3.12",
@@ -7759,7 +7767,7 @@ dependencies = [
 [[package]]
 name = "sc-transaction-pool"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.3.12",
  "futures-diagnose",
@@ -8181,7 +8189,7 @@ dependencies = [
 [[package]]
 name = "sp-allocator"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "log",
  "sp-core",
@@ -8193,7 +8201,7 @@ dependencies = [
 [[package]]
 name = "sp-api"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "hash-db",
  "parity-scale-codec",
@@ -8209,7 +8217,7 @@ dependencies = [
 [[package]]
 name = "sp-api-proc-macro"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "blake2-rfc",
  "proc-macro-crate",
@@ -8221,7 +8229,7 @@ dependencies = [
 [[package]]
 name = "sp-application-crypto"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "serde",
@@ -8233,7 +8241,7 @@ dependencies = [
 [[package]]
 name = "sp-arithmetic"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "integer-sqrt",
  "num-traits 0.2.14",
@@ -8246,7 +8254,7 @@ dependencies = [
 [[package]]
 name = "sp-authority-discovery"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "sp-api",
@@ -8258,7 +8266,7 @@ dependencies = [
 [[package]]
 name = "sp-authorship"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "sp-inherents",
@@ -8269,7 +8277,7 @@ dependencies = [
 [[package]]
 name = "sp-block-builder"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "sp-api",
@@ -8281,7 +8289,7 @@ dependencies = [
 [[package]]
 name = "sp-blockchain"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.3.12",
  "log",
@@ -8299,7 +8307,7 @@ dependencies = [
 [[package]]
 name = "sp-chain-spec"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "serde",
  "serde_json",
@@ -8308,7 +8316,7 @@ dependencies = [
 [[package]]
 name = "sp-consensus"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.3.12",
  "futures-timer 3.0.2",
@@ -8334,7 +8342,7 @@ dependencies = [
 [[package]]
 name = "sp-consensus-babe"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "merlin",
  "parity-scale-codec",
@@ -8354,7 +8362,7 @@ dependencies = [
 [[package]]
 name = "sp-consensus-slots"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "sp-arithmetic",
@@ -8364,7 +8372,7 @@ dependencies = [
 [[package]]
 name = "sp-consensus-vrf"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "schnorrkel",
@@ -8376,7 +8384,7 @@ dependencies = [
 [[package]]
 name = "sp-core"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "base58",
  "blake2-rfc",
@@ -8420,7 +8428,7 @@ dependencies = [
 [[package]]
 name = "sp-database"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "kvdb",
  "parking_lot 0.11.1",
@@ -8429,7 +8437,7 @@ dependencies = [
 [[package]]
 name = "sp-debug-derive"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "proc-macro2 1.0.24",
  "quote 1.0.7",
@@ -8439,7 +8447,7 @@ dependencies = [
 [[package]]
 name = "sp-externalities"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "environmental",
  "parity-scale-codec",
@@ -8450,7 +8458,7 @@ dependencies = [
 [[package]]
 name = "sp-finality-grandpa"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "finality-grandpa",
  "log",
@@ -8467,7 +8475,7 @@ dependencies = [
 [[package]]
 name = "sp-inherents"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "parking_lot 0.11.1",
@@ -8479,7 +8487,7 @@ dependencies = [
 [[package]]
 name = "sp-io"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.3.12",
  "hash-db",
@@ -8503,7 +8511,7 @@ dependencies = [
 [[package]]
 name = "sp-keyring"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "lazy_static",
  "sp-core",
@@ -8514,7 +8522,7 @@ dependencies = [
 [[package]]
 name = "sp-keystore"
 version = "0.8.0"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "async-trait",
  "derive_more",
@@ -8531,7 +8539,7 @@ dependencies = [
 [[package]]
 name = "sp-npos-elections"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "serde",
@@ -8544,7 +8552,7 @@ dependencies = [
 [[package]]
 name = "sp-npos-elections-compact"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "proc-macro-crate",
  "proc-macro2 1.0.24",
@@ -8555,7 +8563,7 @@ dependencies = [
 [[package]]
 name = "sp-offchain"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "sp-api",
  "sp-core",
@@ -8565,7 +8573,7 @@ dependencies = [
 [[package]]
 name = "sp-panic-handler"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "backtrace",
 ]
@@ -8573,7 +8581,7 @@ dependencies = [
 [[package]]
 name = "sp-rpc"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "serde",
  "sp-core",
@@ -8582,7 +8590,7 @@ dependencies = [
 [[package]]
 name = "sp-runtime"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "either",
  "hash256-std-hasher",
@@ -8603,7 +8611,7 @@ dependencies = [
 [[package]]
 name = "sp-runtime-interface"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "impl-trait-for-tuples 0.2.0",
  "parity-scale-codec",
@@ -8620,7 +8628,7 @@ dependencies = [
 [[package]]
 name = "sp-runtime-interface-proc-macro"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "Inflector",
  "proc-macro-crate",
@@ -8632,7 +8640,7 @@ dependencies = [
 [[package]]
 name = "sp-serializer"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "serde",
  "serde_json",
@@ -8641,7 +8649,7 @@ dependencies = [
 [[package]]
 name = "sp-session"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "sp-api",
@@ -8654,7 +8662,7 @@ dependencies = [
 [[package]]
 name = "sp-staking"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "parity-scale-codec",
  "sp-runtime",
@@ -8664,7 +8672,7 @@ dependencies = [
 [[package]]
 name = "sp-state-machine"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "hash-db",
  "log",
@@ -8686,12 +8694,12 @@ dependencies = [
 [[package]]
 name = "sp-std"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 
 [[package]]
 name = "sp-storage"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "impl-serde",
  "parity-scale-codec",
@@ -8704,7 +8712,7 @@ dependencies = [
 [[package]]
 name = "sp-tasks"
 version = "2.0.0"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "log",
  "sp-core",
@@ -8717,7 +8725,7 @@ dependencies = [
 [[package]]
 name = "sp-timestamp"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "impl-trait-for-tuples 0.2.0",
  "parity-scale-codec",
@@ -8731,7 +8739,7 @@ dependencies = [
 [[package]]
 name = "sp-tracing"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "log",
  "parity-scale-codec",
@@ -8744,7 +8752,7 @@ dependencies = [
 [[package]]
 name = "sp-transaction-pool"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "derive_more",
  "futures 0.3.12",
@@ -8760,7 +8768,7 @@ dependencies = [
 [[package]]
 name = "sp-trie"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "hash-db",
  "memory-db",
@@ -8774,7 +8782,7 @@ dependencies = [
 [[package]]
 name = "sp-utils"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.3.12",
  "futures-core",
@@ -8786,7 +8794,7 @@ dependencies = [
 [[package]]
 name = "sp-version"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "impl-serde",
  "parity-scale-codec",
@@ -8798,7 +8806,7 @@ dependencies = [
 [[package]]
 name = "sp-wasm-interface"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "impl-trait-for-tuples 0.2.0",
  "parity-scale-codec",
@@ -8951,7 +8959,7 @@ dependencies = [
 [[package]]
 name = "substrate-browser-utils"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "chrono",
  "console_error_panic_hook",
@@ -8978,7 +8986,7 @@ dependencies = [
 [[package]]
 name = "substrate-build-script-utils"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "platforms",
 ]
@@ -8986,7 +8994,7 @@ dependencies = [
 [[package]]
 name = "substrate-frame-rpc-system"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "frame-system-rpc-runtime-api",
  "futures 0.3.12",
@@ -9009,7 +9017,7 @@ dependencies = [
 [[package]]
 name = "substrate-prometheus-endpoint"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "async-std",
  "derive_more",
@@ -9023,7 +9031,7 @@ dependencies = [
 [[package]]
 name = "substrate-test-client"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.1.29",
  "futures 0.3.12",
@@ -9050,7 +9058,7 @@ dependencies = [
 [[package]]
 name = "substrate-test-utils"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "futures 0.3.12",
  "substrate-test-utils-derive",
@@ -9060,7 +9068,7 @@ dependencies = [
 [[package]]
 name = "substrate-test-utils-derive"
 version = "0.8.1"
-source = "git+https://github.com/paritytech/substrate#1d5d13a8260e2f090592dfd3c94117c83e7d8332"
+source = "git+https://github.com/paritytech/substrate#93b231e79f5b4e551c34234e89fa4a2e5e9c1510"
 dependencies = [
  "proc-macro-crate",
  "quote 1.0.7",
@@ -9135,6 +9143,12 @@ version = "0.2.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60"
 
+[[package]]
+name = "tap"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "36474e732d1affd3a6ed582781b3683df3d0563714c59c39591e8ff707cf078e"
+
 [[package]]
 name = "target-lexicon"
 version = "0.10.0"
@@ -10474,6 +10488,12 @@ dependencies = [
  "winapi-build",
 ]
 
+[[package]]
+name = "wyz"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214"
+
 [[package]]
 name = "x25519-dalek"
 version = "0.6.0"
diff --git a/polkadot/core-primitives/Cargo.toml b/polkadot/core-primitives/Cargo.toml
index 88d1afcca9a..4007c9a9003 100644
--- a/polkadot/core-primitives/Cargo.toml
+++ b/polkadot/core-primitives/Cargo.toml
@@ -8,8 +8,8 @@ edition = "2018"
 sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
 sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
 sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = [ "derive" ] }
-parity-util-mem = { version = "0.8.0", default-features = false, optional = true }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] }
+parity-util-mem = { version = "0.9.0", default-features = false, optional = true }
 
 [features]
 default = [ "std" ]
diff --git a/polkadot/erasure-coding/Cargo.toml b/polkadot/erasure-coding/Cargo.toml
index ece01d046a8..752b2057d77 100644
--- a/polkadot/erasure-coding/Cargo.toml
+++ b/polkadot/erasure-coding/Cargo.toml
@@ -7,7 +7,7 @@ edition = "2018"
 [dependencies]
 primitives = { package = "polkadot-primitives", path = "../primitives" }
 reed_solomon = { package = "reed-solomon-erasure", version = "4.0.2" }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
 trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master" }
 thiserror = "1.0.23"
diff --git a/polkadot/node/core/approval-voting/Cargo.toml b/polkadot/node/core/approval-voting/Cargo.toml
index b6c361b5383..4054eea4ce0 100644
--- a/polkadot/node/core/approval-voting/Cargo.toml
+++ b/polkadot/node/core/approval-voting/Cargo.toml
@@ -6,13 +6,13 @@ edition = "2018"
 
 [dependencies]
 futures = "0.3.8"
-parity-scale-codec = { version = "1.3.5", default-features = false, features = ["bit-vec", "derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] }
 
 polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" }
 polkadot-overseer = { path = "../../overseer" }
 polkadot-primitives = { path = "../../../primitives" }
 polkadot-node-primitives = { path = "../../primitives" }
-bitvec = "0.17.4"
+bitvec = "0.20.1"
 
 sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
 sp-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
diff --git a/polkadot/node/core/av-store/Cargo.toml b/polkadot/node/core/av-store/Cargo.toml
index afdb9fe3a31..0a2d6f9be86 100644
--- a/polkadot/node/core/av-store/Cargo.toml
+++ b/polkadot/node/core/av-store/Cargo.toml
@@ -7,14 +7,14 @@ edition = "2018"
 [dependencies]
 futures = "0.3.12"
 futures-timer = "3.0.2"
-kvdb = "0.8.0"
-kvdb-rocksdb = "0.10.0"
+kvdb = "0.9.0"
+kvdb-rocksdb = "0.11.0"
 thiserror = "1.0.23"
 tracing = "0.1.22"
 tracing-futures = "0.2.4"
-bitvec = "0.17.4"
+bitvec = "0.20.1"
 
-parity-scale-codec = { version = "1.3.6", features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", features = ["derive"] }
 erasure = { package = "polkadot-erasure-coding", path = "../../../erasure-coding" }
 polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" }
 polkadot-node-subsystem-util = { path = "../../subsystem-util" }
@@ -27,7 +27,7 @@ sc-service = { git = "https://github.com/paritytech/substrate", branch = "master
 log = "0.4.13"
 env_logger = "0.8.2"
 assert_matches = "1.4.0"
-kvdb-memorydb = "0.8.0"
+kvdb-memorydb = "0.9.0"
 
 sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
 polkadot-node-subsystem-util = { path = "../../subsystem-util" }
diff --git a/polkadot/node/core/av-store/src/lib.rs b/polkadot/node/core/av-store/src/lib.rs
index a8b498e48be..0b4806b3157 100644
--- a/polkadot/node/core/av-store/src/lib.rs
+++ b/polkadot/node/core/av-store/src/lib.rs
@@ -133,16 +133,16 @@ impl Decode for BEBlockNumber {
 #[derive(Debug, Encode, Decode)]
 enum State {
 	/// Candidate data was first observed at the given time but is not available in any block.
-	#[codec(index = "0")]
+	#[codec(index = 0)]
 	Unavailable(BETimestamp),
 	/// The candidate was first observed at the given time and was included in the given list of unfinalized blocks, which may be
 	/// empty. The timestamp here is not used for pruning. Either one of these blocks will be finalized or the state will regress to
 	/// `State::Unavailable`, in which case the same timestamp will be reused. Blocks are sorted ascending first by block number and
 	/// then hash.
-	#[codec(index = "1")]
+	#[codec(index = 1)]
 	Unfinalized(BETimestamp, Vec<(BEBlockNumber, Hash)>),
 	/// Candidate data has appeared in a finalized block and did so at the given time.
-	#[codec(index = "2")]
+	#[codec(index = 2)]
 	Finalized(BETimestamp)
 }
 
@@ -967,7 +967,9 @@ fn process_message(
 		}
 		AvailabilityStoreMessage::QueryChunkAvailability(candidate, validator_index, tx) => {
 			let a = load_meta(&subsystem.db, &candidate)?
-				.map_or(false, |m| *m.chunks_stored.get(validator_index as usize).unwrap_or(&false));
+				.map_or(false, |m|
+					*m.chunks_stored.get(validator_index as usize).as_deref().unwrap_or(&false)
+				);
 			let _ = tx.send(a);
 		}
 		AvailabilityStoreMessage::StoreChunk {
diff --git a/polkadot/node/core/backing/Cargo.toml b/polkadot/node/core/backing/Cargo.toml
index cfc9cc973fa..faaa7285341 100644
--- a/polkadot/node/core/backing/Cargo.toml
+++ b/polkadot/node/core/backing/Cargo.toml
@@ -13,7 +13,7 @@ polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsys
 polkadot-node-subsystem-util = { path = "../../subsystem-util" }
 erasure-coding = { package = "polkadot-erasure-coding", path = "../../../erasure-coding" }
 statement-table = { package = "polkadot-statement-table", path = "../../../statement-table" }
-bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
+bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
 tracing = "0.1.22"
 tracing-futures = "0.2.4"
 thiserror = "1.0.23"
diff --git a/polkadot/node/core/backing/src/lib.rs b/polkadot/node/core/backing/src/lib.rs
index affb6f32798..27dec01e5f9 100644
--- a/polkadot/node/core/backing/src/lib.rs
+++ b/polkadot/node/core/backing/src/lib.rs
@@ -1794,7 +1794,10 @@ mod tests {
 			assert!(candidates[0].validity_votes.contains(
 				&ValidityAttestation::Explicit(signed_c.signature().clone())
 			));
-			assert_eq!(candidates[0].validator_indices, bitvec::bitvec![Lsb0, u8; 1, 0, 1, 1]);
+			assert_eq!(
+				candidates[0].validator_indices,
+				bitvec::bitvec![bitvec::order::Lsb0, u8; 1, 0, 1, 1],
+			);
 
 			virtual_overseer.send(FromOverseer::Signal(
 				OverseerSignal::ActiveLeaves(ActiveLeavesUpdate::stop_work(test_state.relay_parent)))
diff --git a/polkadot/node/core/candidate-validation/Cargo.toml b/polkadot/node/core/candidate-validation/Cargo.toml
index ae90ad9eb29..ed3d6794ca2 100644
--- a/polkadot/node/core/candidate-validation/Cargo.toml
+++ b/polkadot/node/core/candidate-validation/Cargo.toml
@@ -10,7 +10,7 @@ tracing = "0.1.22"
 tracing-futures = "0.2.4"
 
 sp-core = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "master" }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["bit-vec", "derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] }
 
 polkadot-primitives = { path = "../../../primitives" }
 polkadot-parachain = { path = "../../../parachain" }
diff --git a/polkadot/node/core/provisioner/Cargo.toml b/polkadot/node/core/provisioner/Cargo.toml
index 92c98d6375c..249b7afbf91 100644
--- a/polkadot/node/core/provisioner/Cargo.toml
+++ b/polkadot/node/core/provisioner/Cargo.toml
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
 edition = "2018"
 
 [dependencies]
-bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
+bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
 futures = "0.3.12"
 tracing = "0.1.22"
 tracing-futures = "0.2.4"
diff --git a/polkadot/node/core/provisioner/src/lib.rs b/polkadot/node/core/provisioner/src/lib.rs
index 4cb3475fdd5..8f9421b25f9 100644
--- a/polkadot/node/core/provisioner/src/lib.rs
+++ b/polkadot/node/core/provisioner/src/lib.rs
@@ -367,7 +367,7 @@ fn select_availability_bitfields(
 
 		for (idx, _) in cores.iter().enumerate().filter(|v| !v.1.is_occupied()) {
 			// Bit is set for an unoccupied core - invalid
-			if *bitfield.payload().0.get(idx).unwrap_or(&false) {
+			if *bitfield.payload().0.get(idx).as_deref().unwrap_or(&false) {
 				continue 'a
 			}
 		}
diff --git a/polkadot/node/core/runtime-api/Cargo.toml b/polkadot/node/core/runtime-api/Cargo.toml
index ca136427694..f0302c86cf1 100644
--- a/polkadot/node/core/runtime-api/Cargo.toml
+++ b/polkadot/node/core/runtime-api/Cargo.toml
@@ -9,7 +9,7 @@ futures = "0.3.12"
 tracing = "0.1.22"
 tracing-futures = "0.2.4"
 memory-lru = "0.1.0"
-parity-util-mem = { version = "0.8.0", default-features = false }
+parity-util-mem = { version = "0.9.0", default-features = false }
 
 sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
 sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
diff --git a/polkadot/node/network/availability-distribution/Cargo.toml b/polkadot/node/network/availability-distribution/Cargo.toml
index 43d3f379b15..add6b2c43d3 100644
--- a/polkadot/node/network/availability-distribution/Cargo.toml
+++ b/polkadot/node/network/availability-distribution/Cargo.toml
@@ -8,7 +8,7 @@ edition = "2018"
 futures = "0.3.12"
 tracing = "0.1.22"
 tracing-futures = "0.2.4"
-parity-scale-codec = { version = "1.3.6", features = ["std"]  }
+parity-scale-codec = { version = "2.0.0", features = ["std"]  }
 polkadot-primitives = { path = "../../../primitives" }
 polkadot-erasure-coding = { path = "../../../erasure-coding" }
 polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" }
diff --git a/polkadot/node/network/bitfield-distribution/Cargo.toml b/polkadot/node/network/bitfield-distribution/Cargo.toml
index e8cda72885a..23118782839 100644
--- a/polkadot/node/network/bitfield-distribution/Cargo.toml
+++ b/polkadot/node/network/bitfield-distribution/Cargo.toml
@@ -8,7 +8,7 @@ edition = "2018"
 futures = "0.3.12"
 tracing = "0.1.22"
 tracing-futures = "0.2.4"
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 polkadot-primitives = { path = "../../../primitives" }
 polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" }
 polkadot-node-subsystem-util = { path = "../../subsystem-util" }
@@ -16,7 +16,7 @@ polkadot-node-network-protocol = { path = "../../network/protocol" }
 
 [dev-dependencies]
 polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
-bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
+bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
 sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
 sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" }
 sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
diff --git a/polkadot/node/network/bridge/Cargo.toml b/polkadot/node/network/bridge/Cargo.toml
index 1cc0b407c17..06f7c6b348a 100644
--- a/polkadot/node/network/bridge/Cargo.toml
+++ b/polkadot/node/network/bridge/Cargo.toml
@@ -10,7 +10,7 @@ futures = "0.3.12"
 tracing = "0.1.22"
 tracing-futures = "0.2.4"
 polkadot-primitives = { path = "../../../primitives" }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" }
 sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
 polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" }
diff --git a/polkadot/node/network/bridge/src/lib.rs b/polkadot/node/network/bridge/src/lib.rs
index f5bc89f137d..b3d102f780d 100644
--- a/polkadot/node/network/bridge/src/lib.rs
+++ b/polkadot/node/network/bridge/src/lib.rs
@@ -82,10 +82,10 @@ const LOG_TARGET: &'static str = "network_bridge";
 #[derive(Debug, Encode, Decode, Clone)]
 pub enum WireMessage<M> {
 	/// A message from a peer on a specific protocol.
-	#[codec(index = "1")]
+	#[codec(index = 1)]
 	ProtocolMessage(M),
 	/// A view update from a peer.
-	#[codec(index = "2")]
+	#[codec(index = 2)]
 	ViewUpdate(View),
 }
 
diff --git a/polkadot/node/network/protocol/Cargo.toml b/polkadot/node/network/protocol/Cargo.toml
index f40b063a8e4..5f9e9bc52aa 100644
--- a/polkadot/node/network/protocol/Cargo.toml
+++ b/polkadot/node/network/protocol/Cargo.toml
@@ -9,7 +9,7 @@ description = "Primitives types for the Node-side"
 polkadot-primitives = { path = "../../../primitives" }
 polkadot-node-primitives = { path = "../../primitives" }
 polkadot-node-jaeger = { path = "../../jaeger" }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
 strum = { version = "0.20", features = ["derive"] }
 thiserror = "1.0.23"
diff --git a/polkadot/node/network/protocol/src/lib.rs b/polkadot/node/network/protocol/src/lib.rs
index 9969862050e..8fabc6fe332 100644
--- a/polkadot/node/network/protocol/src/lib.rs
+++ b/polkadot/node/network/protocol/src/lib.rs
@@ -296,7 +296,7 @@ pub mod v1 {
 	#[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)]
 	pub enum AvailabilityDistributionMessage {
 		/// An erasure chunk for a given candidate hash.
-		#[codec(index = "0")]
+		#[codec(index = 0)]
 		Chunk(CandidateHash, ErasureChunk),
 	}
 
@@ -314,7 +314,7 @@ pub mod v1 {
 	#[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)]
 	pub enum BitfieldDistributionMessage {
 		/// A signed availability bitfield for a given relay-parent hash.
-		#[codec(index = "0")]
+		#[codec(index = 0)]
 		Bitfield(Hash, SignedAvailabilityBitfield),
 	}
 
@@ -323,11 +323,11 @@ pub mod v1 {
 	pub enum PoVDistributionMessage {
 		/// Notification that we are awaiting the given PoVs (by hash) against a
 		/// specific relay-parent hash.
-		#[codec(index = "0")]
+		#[codec(index = 0)]
 		Awaiting(Hash, Vec<Hash>),
 		/// Notification of an awaited PoV, in a given relay-parent context.
 		/// (relay_parent, pov_hash, compressed_pov)
-		#[codec(index = "1")]
+		#[codec(index = 1)]
 		SendPoV(Hash, Hash, CompressedPoV),
 	}
 
@@ -335,7 +335,7 @@ pub mod v1 {
 	#[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)]
 	pub enum StatementDistributionMessage {
 		/// A signed full statement under a given relay-parent.
-		#[codec(index = "0")]
+		#[codec(index = 0)]
 		Statement(Hash, SignedFullStatement)
 	}
 
@@ -345,10 +345,10 @@ pub mod v1 {
 		/// Assignments for candidates in recent, unfinalized blocks.
 		///
 		/// Actually checking the assignment may yield a different result.
-		#[codec(index = "0")]
+		#[codec(index = 0)]
 		Assignments(Vec<(IndirectAssignmentCert, CandidateIndex)>),
 		/// Approvals for candidates in some recent, unfinalized block.
-		#[codec(index = "1")]
+		#[codec(index = 1)]
 		Approvals(Vec<IndirectSignedApprovalVote>),
 	}
 
@@ -417,17 +417,17 @@ pub mod v1 {
 	#[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)]
 	pub enum CollatorProtocolMessage {
 		/// Declare the intent to advertise collations under a collator ID.
-		#[codec(index = "0")]
+		#[codec(index = 0)]
 		Declare(CollatorId),
 		/// Advertise a collation to a validator. Can only be sent once the peer has declared
 		/// that they are a collator with given ID.
-		#[codec(index = "1")]
+		#[codec(index = 1)]
 		AdvertiseCollation(Hash, ParaId),
 		/// Request the advertised collation at that relay-parent.
-		#[codec(index = "2")]
+		#[codec(index = 2)]
 		RequestCollation(RequestId, Hash, ParaId),
 		/// A requested collation.
-		#[codec(index = "3")]
+		#[codec(index = 3)]
 		Collation(RequestId, CandidateReceipt, CompressedPoV),
 	}
 
@@ -435,22 +435,22 @@ pub mod v1 {
 	#[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)]
 	pub enum ValidationProtocol {
 		/// Availability distribution messages
-		#[codec(index = "0")]
+		#[codec(index = 0)]
 		AvailabilityDistribution(AvailabilityDistributionMessage),
 		/// Bitfield distribution messages
-		#[codec(index = "1")]
+		#[codec(index = 1)]
 		BitfieldDistribution(BitfieldDistributionMessage),
 		/// PoV Distribution messages
-		#[codec(index = "2")]
+		#[codec(index = 2)]
 		PoVDistribution(PoVDistributionMessage),
 		/// Statement distribution messages
-		#[codec(index = "3")]
+		#[codec(index = 3)]
 		StatementDistribution(StatementDistributionMessage),
 		/// Availability recovery messages
-		#[codec(index = "4")]
+		#[codec(index = 4)]
 		AvailabilityRecovery(AvailabilityRecoveryMessage),
 		/// Approval distribution messages
-		#[codec(index = "5")]
+		#[codec(index = 5)]
 		ApprovalDistribution(ApprovalDistributionMessage),
 	}
 
@@ -464,7 +464,7 @@ pub mod v1 {
 	#[derive(Debug, Clone, Encode, Decode, PartialEq, Eq)]
 	pub enum CollationProtocol {
 		/// Collator protocol messages
-		#[codec(index = "0")]
+		#[codec(index = 0)]
 		CollatorProtocol(CollatorProtocolMessage),
 	}
 
diff --git a/polkadot/node/primitives/Cargo.toml b/polkadot/node/primitives/Cargo.toml
index 0bd5ef85b30..58777d95526 100644
--- a/polkadot/node/primitives/Cargo.toml
+++ b/polkadot/node/primitives/Cargo.toml
@@ -9,7 +9,7 @@ description = "Primitives types for the Node-side"
 futures = "0.3.12"
 polkadot-primitives = { path = "../../primitives" }
 polkadot-statement-table = { path = "../../statement-table" }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
 sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
 sp-consensus-vrf = { git = "https://github.com/paritytech/substrate", branch = "master" }
diff --git a/polkadot/node/primitives/src/lib.rs b/polkadot/node/primitives/src/lib.rs
index e7545b146cb..dcc3a88623c 100644
--- a/polkadot/node/primitives/src/lib.rs
+++ b/polkadot/node/primitives/src/lib.rs
@@ -44,13 +44,13 @@ pub mod approval;
 #[derive(Debug, Clone, PartialEq, Eq, Encode, Decode)]
 pub enum Statement {
 	/// A statement that a validator seconds a candidate.
-	#[codec(index = "1")]
+	#[codec(index = 1)]
 	Seconded(CommittedCandidateReceipt),
 	/// A statement that a validator has deemed a candidate valid.
-	#[codec(index = "2")]
+	#[codec(index = 2)]
 	Valid(CandidateHash),
 	/// A statement that a validator has deemed a candidate invalid.
-	#[codec(index = "3")]
+	#[codec(index = 3)]
 	Invalid(CandidateHash),
 }
 
diff --git a/polkadot/node/subsystem-test-helpers/Cargo.toml b/polkadot/node/subsystem-test-helpers/Cargo.toml
index ae0149f8634..6387e99d0a8 100644
--- a/polkadot/node/subsystem-test-helpers/Cargo.toml
+++ b/polkadot/node/subsystem-test-helpers/Cargo.toml
@@ -11,7 +11,7 @@ futures = "0.3.12"
 futures-timer = "3.0.2"
 tracing = "0.1.22"
 tracing-futures = "0.2.4"
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 parking_lot = "0.11.1"
 pin-project = "1.0.4"
 polkadot-node-primitives = { path = "../primitives" }
diff --git a/polkadot/node/subsystem-util/Cargo.toml b/polkadot/node/subsystem-util/Cargo.toml
index 424f0b20b69..4b165bdf6d2 100644
--- a/polkadot/node/subsystem-util/Cargo.toml
+++ b/polkadot/node/subsystem-util/Cargo.toml
@@ -9,7 +9,7 @@ description = "Subsystem traits and message definitions"
 async-trait = "0.1.42"
 futures = "0.3.12"
 futures-timer = "3.0.2"
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 parking_lot = { version = "0.11.1", optional = true }
 pin-project = "1.0.4"
 streamunordered = "0.5.1"
diff --git a/polkadot/node/subsystem/Cargo.toml b/polkadot/node/subsystem/Cargo.toml
index fc211f5b7af..3fa2061f049 100644
--- a/polkadot/node/subsystem/Cargo.toml
+++ b/polkadot/node/subsystem/Cargo.toml
@@ -15,7 +15,7 @@ mick-jaeger = "0.1.2"
 lazy_static = "1.4"
 tracing = "0.1.22"
 tracing-futures = "0.2.4"
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 parking_lot = "0.11.1"
 pin-project = "1.0.4"
 polkadot-node-primitives = { path = "../primitives" }
diff --git a/polkadot/node/test/client/Cargo.toml b/polkadot/node/test/client/Cargo.toml
index f660ec1b28a..287c058c62a 100644
--- a/polkadot/node/test/client/Cargo.toml
+++ b/polkadot/node/test/client/Cargo.toml
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
 edition = "2018"
 
 [dependencies]
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 
 # Polkadot dependencies
 polkadot-test-runtime = { path = "../../../runtime/test-runtime" }
diff --git a/polkadot/parachain/Cargo.toml b/polkadot/parachain/Cargo.toml
index 901fa2ec017..232d2d322a3 100644
--- a/polkadot/parachain/Cargo.toml
+++ b/polkadot/parachain/Cargo.toml
@@ -9,8 +9,8 @@ edition = "2018"
 # note: special care is taken to avoid inclusion of `sp-io` externals when compiling
 # this crate for WASM. This is critical to avoid forcing all parachain WASM into implementing
 # various unnecessary Substrate-specific endpoints.
-parity-scale-codec = { version = "1.3.6", default-features = false, features = [ "derive" ] }
-parity-util-mem = { version = "0.8.0", optional = true }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] }
+parity-util-mem = { version = "0.9.0", optional = true }
 sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
 sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
 sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
diff --git a/polkadot/parachain/test-parachains/Cargo.toml b/polkadot/parachain/test-parachains/Cargo.toml
index a3d05daa103..75069345e2d 100644
--- a/polkadot/parachain/test-parachains/Cargo.toml
+++ b/polkadot/parachain/test-parachains/Cargo.toml
@@ -7,7 +7,7 @@ edition = "2018"
 
 [dependencies]
 tiny-keccak = "2.0.2"
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 
 parachain = { package = "polkadot-parachain", path = ".." }
 adder = { package = "test-parachain-adder", path = "adder" }
diff --git a/polkadot/parachain/test-parachains/adder/Cargo.toml b/polkadot/parachain/test-parachains/adder/Cargo.toml
index e0c07122bb5..c631d188ec6 100644
--- a/polkadot/parachain/test-parachains/adder/Cargo.toml
+++ b/polkadot/parachain/test-parachains/adder/Cargo.toml
@@ -8,7 +8,7 @@ build = "build.rs"
 
 [dependencies]
 parachain = { package = "polkadot-parachain", path = "../../", default-features = false, features = [ "wasm-api" ] }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
 tiny-keccak = { version = "2.0.2", features = ["keccak"] }
 dlmalloc = { version = "0.2.1", features = [ "global" ] }
diff --git a/polkadot/parachain/test-parachains/adder/collator/Cargo.toml b/polkadot/parachain/test-parachains/adder/collator/Cargo.toml
index 26b2551ad27..4068d3c3f9e 100644
--- a/polkadot/parachain/test-parachains/adder/collator/Cargo.toml
+++ b/polkadot/parachain/test-parachains/adder/collator/Cargo.toml
@@ -10,7 +10,7 @@ name = "adder-collator"
 path = "src/main.rs"
 
 [dependencies]
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 futures = "0.3.12"
 futures-timer = "3.0.2"
 log = "0.4.13"
diff --git a/polkadot/primitives/Cargo.toml b/polkadot/primitives/Cargo.toml
index c1d64116739..98d1684f3df 100644
--- a/polkadot/primitives/Cargo.toml
+++ b/polkadot/primitives/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
 
 [dependencies]
 serde = { version = "1.0.123", optional = true, features = ["derive"] }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["bit-vec", "derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] }
 primitives = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
 inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
 application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
@@ -22,10 +22,10 @@ runtime_primitives = { package = "sp-runtime", git = "https://github.com/parityt
 polkadot-parachain = { path = "../parachain", default-features = false }
 polkadot-core-primitives = { path = "../core-primitives", default-features = false }
 trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
-bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
+bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
 frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
 hex-literal = "0.3.1"
-parity-util-mem = { version = "0.8.0", default-features = false, optional = true }
+parity-util-mem = { version = "0.9.0", default-features = false, optional = true }
 
 [dev-dependencies]
 sp-serializer = { git = "https://github.com/paritytech/substrate", branch = "master" }
diff --git a/polkadot/primitives/src/v0.rs b/polkadot/primitives/src/v0.rs
index 81e4a18da6e..d806e4a93c7 100644
--- a/polkadot/primitives/src/v0.rs
+++ b/polkadot/primitives/src/v0.rs
@@ -674,13 +674,13 @@ pub struct ErasureChunk {
 #[cfg_attr(feature = "std", derive(Debug, Hash))]
 pub enum CompactStatement {
 	/// Proposal of a parachain candidate.
-	#[codec(index = "1")]
+	#[codec(index = 1)]
 	Candidate(CandidateHash),
 	/// State that a parachain candidate is valid.
-	#[codec(index = "2")]
+	#[codec(index = 2)]
 	Valid(CandidateHash),
 	/// State that a parachain candidate is invalid.
-	#[codec(index = "3")]
+	#[codec(index = 3)]
 	Invalid(CandidateHash),
 }
 
@@ -705,11 +705,11 @@ pub type SignedStatement = Signed<CompactStatement>;
 pub enum ValidityAttestation {
 	/// Implicit validity attestation by issuing.
 	/// This corresponds to issuance of a `Candidate` statement.
-	#[codec(index = "1")]
+	#[codec(index = 1)]
 	Implicit(ValidatorSignature),
 	/// An explicit attestation. This corresponds to issuance of a
 	/// `Valid` statement.
-	#[codec(index = "2")]
+	#[codec(index = 2)]
 	Explicit(ValidatorSignature),
 }
 
diff --git a/polkadot/primitives/src/v1.rs b/polkadot/primitives/src/v1.rs
index 1208e88092b..45fa88dec12 100644
--- a/polkadot/primitives/src/v1.rs
+++ b/polkadot/primitives/src/v1.rs
@@ -677,18 +677,18 @@ pub struct ScheduledCore {
 #[cfg_attr(feature = "std", derive(Debug, PartialEq, MallocSizeOf))]
 pub enum CoreState<H = Hash, N = BlockNumber> {
 	/// The core is currently occupied.
-	#[codec(index = "0")]
+	#[codec(index = 0)]
 	Occupied(OccupiedCore<H, N>),
 	/// The core is currently free, with a para scheduled and given the opportunity
 	/// to occupy.
 	///
 	/// If a particular Collator is required to author this block, that is also present in this
 	/// variant.
-	#[codec(index = "1")]
+	#[codec(index = 1)]
 	Scheduled(ScheduledCore),
 	/// The core is currently free and there is nothing scheduled. This can be the case for parathread
 	/// cores when there are no parathread blocks queued. Parachain cores will never be left idle.
-	#[codec(index = "2")]
+	#[codec(index = 2)]
 	Free,
 }
 
@@ -713,13 +713,13 @@ impl<N> CoreState<N> {
 #[cfg_attr(feature = "std", derive(PartialEq, Eq, Hash, Debug))]
 pub enum OccupiedCoreAssumption {
 	/// The candidate occupying the core was made available and included to free the core.
-	#[codec(index = "0")]
+	#[codec(index = 0)]
 	Included,
 	/// The candidate occupying the core timed out and freed the core without advancing the para.
-	#[codec(index = "1")]
+	#[codec(index = 1)]
 	TimedOut,
 	/// The core was not occupied to begin with.
-	#[codec(index = "2")]
+	#[codec(index = 2)]
 	Free,
 }
 
@@ -728,13 +728,13 @@ pub enum OccupiedCoreAssumption {
 #[cfg_attr(feature = "std", derive(PartialEq, Debug, MallocSizeOf))]
 pub enum CandidateEvent<H = Hash> {
 	/// This candidate receipt was backed in the most recent block.
-	#[codec(index = "0")]
+	#[codec(index = 0)]
 	CandidateBacked(CandidateReceipt<H>, HeadData),
 	/// This candidate receipt was included and became a parablock at the most recent block.
-	#[codec(index = "1")]
+	#[codec(index = 1)]
 	CandidateIncluded(CandidateReceipt<H>, HeadData),
 	/// This candidate receipt was not made available in time and timed out.
-	#[codec(index = "2")]
+	#[codec(index = 2)]
 	CandidateTimedOut(CandidateReceipt<H>, HeadData),
 }
 
diff --git a/polkadot/rpc/Cargo.toml b/polkadot/rpc/Cargo.toml
index d64e4d3d9da..7a2179cc972 100644
--- a/polkadot/rpc/Cargo.toml
+++ b/polkadot/rpc/Cargo.toml
@@ -26,5 +26,5 @@ sc-sync-state-rpc = { git = "https://github.com/paritytech/substrate", branch =
 txpool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master" }
 frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "master"  }
 pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
-parity-scale-codec = { version = "1.3.6", default-features = false }
+parity-scale-codec = { version = "2.0.0", default-features = false }
 sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
diff --git a/polkadot/runtime/common/Cargo.toml b/polkadot/runtime/common/Cargo.toml
index 2c3f842c87e..50d61a2099b 100644
--- a/polkadot/runtime/common/Cargo.toml
+++ b/polkadot/runtime/common/Cargo.toml
@@ -5,8 +5,8 @@ authors = ["Parity Technologies <admin@parity.io>"]
 edition = "2018"
 
 [dependencies]
-bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 log = { version = "0.4.13", optional = true }
 rustc-hex = { version = "2.1.0", default-features = false }
 serde = { version = "1.0.123", default-features = false }
diff --git a/polkadot/runtime/kusama/Cargo.toml b/polkadot/runtime/kusama/Cargo.toml
index 9c2d1414753..dcfb9471a6c 100644
--- a/polkadot/runtime/kusama/Cargo.toml
+++ b/polkadot/runtime/kusama/Cargo.toml
@@ -6,8 +6,8 @@ edition = "2018"
 build = "build.rs"
 
 [dependencies]
-bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 log = { version = "0.4.13", optional = true }
 rustc-hex = { version = "2.1.0", default-features = false }
 serde = { version = "1.0.123", default-features = false }
diff --git a/polkadot/runtime/parachains/Cargo.toml b/polkadot/runtime/parachains/Cargo.toml
index ce790b1c06c..a830546777f 100644
--- a/polkadot/runtime/parachains/Cargo.toml
+++ b/polkadot/runtime/parachains/Cargo.toml
@@ -5,8 +5,8 @@ authors = ["Parity Technologies <admin@parity.io>"]
 edition = "2018"
 
 [dependencies]
-bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 log = "0.4.13"
 rustc-hex = { version = "2.1.0", default-features = false }
 serde = { version = "1.0.123", features = [ "derive" ], optional = true }
diff --git a/polkadot/runtime/polkadot/Cargo.toml b/polkadot/runtime/polkadot/Cargo.toml
index 67cec5f7f2f..e95c94b3f44 100644
--- a/polkadot/runtime/polkadot/Cargo.toml
+++ b/polkadot/runtime/polkadot/Cargo.toml
@@ -6,8 +6,8 @@ edition = "2018"
 build = "build.rs"
 
 [dependencies]
-bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 log = { version = "0.4.13", optional = true }
 rustc-hex = { version = "2.1.0", default-features = false }
 serde = { version = "1.0.123", default-features = false }
diff --git a/polkadot/runtime/rococo/Cargo.toml b/polkadot/runtime/rococo/Cargo.toml
index bffc94e40be..e99567539d2 100644
--- a/polkadot/runtime/rococo/Cargo.toml
+++ b/polkadot/runtime/rococo/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
 build = "build.rs"
 
 [dependencies]
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 serde = { version = "1.0.123", default-features = false }
 serde_derive = { version = "1.0.117", optional = true }
 smallvec = "1.6.1"
diff --git a/polkadot/runtime/test-runtime/Cargo.toml b/polkadot/runtime/test-runtime/Cargo.toml
index 99b3c556682..ceb9a1f8852 100644
--- a/polkadot/runtime/test-runtime/Cargo.toml
+++ b/polkadot/runtime/test-runtime/Cargo.toml
@@ -6,8 +6,8 @@ edition = "2018"
 build = "build.rs"
 
 [dependencies]
-bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 log = { version = "0.4.13", optional = true }
 rustc-hex = { version = "2.1.0", default-features = false }
 serde = { version = "1.0.123", default-features = false }
diff --git a/polkadot/runtime/westend/Cargo.toml b/polkadot/runtime/westend/Cargo.toml
index 0641af69c8b..95ae9963741 100644
--- a/polkadot/runtime/westend/Cargo.toml
+++ b/polkadot/runtime/westend/Cargo.toml
@@ -6,8 +6,8 @@ edition = "2018"
 build = "build.rs"
 
 [dependencies]
-bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 log = { version = "0.4.13", optional = true }
 rustc-hex = { version = "2.1.0", default-features = false }
 serde = { version = "1.0.123", default-features = false }
diff --git a/polkadot/statement-table/Cargo.toml b/polkadot/statement-table/Cargo.toml
index 7962b00ed5d..ef7fe7dba14 100644
--- a/polkadot/statement-table/Cargo.toml
+++ b/polkadot/statement-table/Cargo.toml
@@ -5,6 +5,6 @@ authors = ["Parity Technologies <admin@parity.io>"]
 edition = "2018"
 
 [dependencies]
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
 primitives = { package = "polkadot-primitives", path = "../primitives" }
diff --git a/polkadot/statement-table/src/generic.rs b/polkadot/statement-table/src/generic.rs
index 68bc507b53b..ecf9cec88a0 100644
--- a/polkadot/statement-table/src/generic.rs
+++ b/polkadot/statement-table/src/generic.rs
@@ -65,13 +65,13 @@ pub enum Statement<Candidate, Digest> {
 	/// Broadcast by an authority to indicate that this is its candidate for inclusion.
 	///
 	/// Broadcasting two different candidate messages per round is not allowed.
-	#[codec(index = "1")]
+	#[codec(index = 1)]
 	Candidate(Candidate),
 	/// Broadcast by a authority to attest that the candidate with given digest is valid.
-	#[codec(index = "2")]
+	#[codec(index = 2)]
 	Valid(Digest),
 	/// Broadcast by a authority to attest that the candidate with given digest is invalid.
-	#[codec(index = "3")]
+	#[codec(index = 3)]
 	Invalid(Digest),
 }
 
diff --git a/polkadot/xcm/Cargo.toml b/polkadot/xcm/Cargo.toml
index 6cabe8c1599..ab8b230f1bc 100644
--- a/polkadot/xcm/Cargo.toml
+++ b/polkadot/xcm/Cargo.toml
@@ -6,7 +6,7 @@ description = "The basic XCM datastructures."
 edition = "2018"
 
 [dependencies]
-parity-scale-codec = { version = "1.3.6", default-features = false, features = [ "derive" ] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = [ "derive" ] }
 
 [features]
 default = ["std"]
diff --git a/polkadot/xcm/xcm-builder/Cargo.toml b/polkadot/xcm/xcm-builder/Cargo.toml
index d7dec5d8c26..fc57e0f1fc8 100644
--- a/polkadot/xcm/xcm-builder/Cargo.toml
+++ b/polkadot/xcm/xcm-builder/Cargo.toml
@@ -6,7 +6,7 @@ description = "Tools & types for building with XCM and its executor."
 version = "0.8.22"
 
 [dependencies]
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 xcm = { path = "..", default-features = false }
 xcm-executor = { path = "../xcm-executor", default-features = false }
 sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
diff --git a/polkadot/xcm/xcm-executor/Cargo.toml b/polkadot/xcm/xcm-executor/Cargo.toml
index 33be8c0554d..bd60b2b67cf 100644
--- a/polkadot/xcm/xcm-executor/Cargo.toml
+++ b/polkadot/xcm/xcm-executor/Cargo.toml
@@ -7,7 +7,7 @@ version = "0.8.22"
 
 [dependencies]
 impl-trait-for-tuples = "0.2.0"
-parity-scale-codec = { version = "1.3.6", default-features = false, features = ["derive"] }
+parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
 xcm = { path = "..", default-features = false }
 sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
 sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
-- 
GitLab