mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 12:11:09 +00:00
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:
committed by
GitHub
parent
6efeb1ee13
commit
29f12f3f48
@@ -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" }
|
||||
|
||||
@@ -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),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user