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:
wigy
2022-02-24 15:34:34 +01:00
committed by GitHub
parent eeb267e1d6
commit 535325d2e6
176 changed files with 528 additions and 450 deletions
+2 -2
View File
@@ -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"
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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"