mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 13:21:10 +00:00
Upgrading parity-scale-codec to v3 (#10825)
* Upgraded dependencies * Adapting code to scale v3 * Empty commit to trigger CI * Triggering CI * Fixing UI test * Remove superfluous dev-dep added by #9228 * Cryout for CI
This commit is contained in:
@@ -21,7 +21,7 @@ async-trait = "0.1"
|
||||
bitflags = "1.3.2"
|
||||
cid = "0.6.0"
|
||||
bytes = "1"
|
||||
codec = { package = "parity-scale-codec", version = "2.0.0", features = [
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", features = [
|
||||
"derive",
|
||||
] }
|
||||
either = "1.5.3"
|
||||
@@ -36,7 +36,7 @@ linked-hash-map = "0.5.4"
|
||||
linked_hash_set = "0.1.3"
|
||||
lru = "0.7.0"
|
||||
log = "0.4.8"
|
||||
parking_lot = "0.11.2"
|
||||
parking_lot = "0.12.0"
|
||||
pin-project = "1.0.10"
|
||||
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../utils/prometheus" }
|
||||
prost = "0.9"
|
||||
|
||||
@@ -1666,7 +1666,7 @@ impl<B: BlockT> NetworkBehaviour for Protocol<B> {
|
||||
}
|
||||
} else {
|
||||
match (
|
||||
message::Roles::decode_all(&received_handshake[..]),
|
||||
message::Roles::decode_all(&mut &received_handshake[..]),
|
||||
self.peers.get(&peer_id),
|
||||
) {
|
||||
(Ok(roles), _) => CustomMessageOutcome::NotificationStreamOpened {
|
||||
|
||||
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
async-std = "1.10.0"
|
||||
sc-network = { version = "0.10.0-dev", path = "../" }
|
||||
log = "0.4.8"
|
||||
parking_lot = "0.11.2"
|
||||
parking_lot = "0.12.0"
|
||||
futures = "0.3.9"
|
||||
futures-timer = "3.0.1"
|
||||
rand = "0.7.2"
|
||||
|
||||
Reference in New Issue
Block a user