mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-08 19:57:06 +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:
1 parent
6efeb1ee13
commit
29f12f3f48
44 files changed
+297
-272
No files matched your search
@@ -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