Force upgrade snow to 0.9.2 (#13806)

This fixes the compilation on master for the node template that was not pulling the latest release
as part of its build.
This commit is contained in:
Bastian Köcher
2023-04-03 11:37:18 +02:00
committed by GitHub
parent 77fbb82b6b
commit 7e3e3db282
2 changed files with 10 additions and 5 deletions
+6 -5
View File
@@ -1473,9 +1473,9 @@ dependencies = [
[[package]]
name = "curve25519-dalek"
version = "4.0.0-rc.0"
version = "4.0.0-rc.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8da00a7a9a4eb92a0a0f8e75660926d48f0d0f3c537e455c457bcdaa1e16b1ac"
checksum = "8d4ba9852b42210c7538b75484f9daa0655e9a3ac04f693747bb0f02cf3cfe16"
dependencies = [
"cfg-if",
"fiat-crypto",
@@ -8955,6 +8955,7 @@ dependencies = [
"serde",
"serde_json",
"smallvec",
"snow",
"sp-arithmetic",
"sp-blockchain",
"sp-consensus",
@@ -10034,14 +10035,14 @@ checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831"
[[package]]
name = "snow"
version = "0.9.1"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12ba5f4d4ff12bdb6a169ed51b7c48c0e0ac4b0b4b31012b2571e97d78d3201d"
checksum = "5ccba027ba85743e09d15c03296797cad56395089b832b48b5a5217880f57733"
dependencies = [
"aes-gcm 0.9.4",
"blake2",
"chacha20poly1305",
"curve25519-dalek 4.0.0-rc.0",
"curve25519-dalek 4.0.0-rc.1",
"rand_core 0.6.4",
"ring",
"rustc_version 0.4.0",
+4
View File
@@ -51,6 +51,10 @@ sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" }
sp-consensus = { version = "0.10.0-dev", path = "../../primitives/consensus/common" }
sp-core = { version = "7.0.0", path = "../../primitives/core" }
sp-runtime = { version = "7.0.0", path = "../../primitives/runtime" }
# Force 0.9.2 as snow release to fix the compilation.
#
# When libp2p also enforces this version, we can get rid off this extra dep here.
snow = "0.9.2"
[dev-dependencies]
assert_matches = "1.3"