Upgrade codec to 2.0 and bitvec to 0.20 (companion) (#2343)

* upgrade codec and bitvec

* "Update Substrate"

Co-authored-by: parity-processbot <>
This commit is contained in:
Guillaume Thiolliere
2021-01-29 14:35:45 +01:00
committed by GitHub
parent 6efeb1ee13
commit 29f12f3f48
44 changed files with 297 additions and 272 deletions
+1 -1
View File
@@ -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" }
+2 -2
View File
@@ -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),
}