mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-01 01:01:01 +00:00
Update parity-scale-codec to 2.0 (#7994)
* update cargo.toml * use 2.0 in mmmr
This commit is contained in:
committed by
GitHub
parent
bea4a6524d
commit
f48296e9ad
@@ -370,7 +370,7 @@ pub(super) struct NeighborPacket<N> {
|
||||
/// A versioned neighbor packet.
|
||||
#[derive(Debug, Encode, Decode)]
|
||||
pub(super) enum VersionedNeighborPacket<N> {
|
||||
#[codec(index = "1")]
|
||||
#[codec(index = 1)]
|
||||
V1(NeighborPacket<N>),
|
||||
}
|
||||
|
||||
@@ -1415,7 +1415,7 @@ impl<Block: BlockT> GossipValidator<Block> {
|
||||
}
|
||||
Err(e) => {
|
||||
message_name = None;
|
||||
debug!(target: "afg", "Error decoding message: {}", e.what());
|
||||
debug!(target: "afg", "Error decoding message: {}", e);
|
||||
telemetry!(CONSENSUS_DEBUG; "afg.err_decoding_msg"; "" => "");
|
||||
|
||||
let len = std::cmp::min(i32::max_value() as usize, data.len()) as i32;
|
||||
|
||||
Reference in New Issue
Block a user