diff --git a/node/Cargo.lock b/node/Cargo.lock index 0408578e..566e7d38 100644 --- a/node/Cargo.lock +++ b/node/Cargo.lock @@ -239,7 +239,7 @@ checksum = "b62ddb9cb1ec0a098ad4bbf9344d0713fa193ae1a80af55febcff2627b6a00c1" dependencies = [ "getrandom", "instant", - "rand 0.8.5", + "rand", ] [[package]] @@ -737,7 +737,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array", - "rand_core 0.6.4", + "rand_core", "subtle", "zeroize", ] @@ -749,7 +749,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array", - "rand_core 0.6.4", + "rand_core", "typenum", ] @@ -932,7 +932,7 @@ checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ "curve25519-dalek", "ed25519", - "rand_core 0.6.4", + "rand_core", "serde", "sha2", "subtle", @@ -958,7 +958,7 @@ dependencies = [ "generic-array", "group", "pkcs8", - "rand_core 0.6.4", + "rand_core", "sec1", "subtle", "zeroize", @@ -1022,22 +1022,10 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ - "rand_core 0.6.4", + "rand_core", "subtle", ] -[[package]] -name = "ff_ce" -version = "0.14.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b538e4231443a5b9c507caee3356f016d832cf7393d2d90f03ea3180d4e3fbc" -dependencies = [ - "byteorder", - "hex", - "rand 0.4.6", - "serde", -] - [[package]] name = "fiat-crypto" version = "0.2.9" @@ -1071,12 +1059,6 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" -[[package]] -name = "fuchsia-cprng" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" - [[package]] name = "futures" version = "0.3.30" @@ -1205,7 +1187,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", - "rand_core 0.6.4", + "rand_core", "subtle", ] @@ -1471,7 +1453,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0acd33ff0285af998aaf9b57342af478078f53492322fafc47450e09397e0e9" dependencies = [ "bitmaps", - "rand_core 0.6.4", + "rand_core", "rand_xoshiro", "sized-chunks", "typenum", @@ -1640,7 +1622,7 @@ dependencies = [ "http-body-util", "jsonrpsee-types", "parking_lot", - "rand 0.8.5", + "rand", "rustc-hash", "serde", "serde_json", @@ -2565,19 +2547,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "rand" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293" -dependencies = [ - "fuchsia-cprng", - "libc", - "rand_core 0.3.1", - "rdrand", - "winapi", -] - [[package]] name = "rand" version = "0.8.5" @@ -2586,7 +2555,7 @@ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", "rand_chacha", - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -2596,24 +2565,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core 0.6.4", + "rand_core", ] -[[package]] -name = "rand_core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" -dependencies = [ - "rand_core 0.4.2", -] - -[[package]] -name = "rand_core" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" - [[package]] name = "rand_core" version = "0.6.4" @@ -2629,7 +2583,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" dependencies = [ - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -2652,15 +2606,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "rdrand" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" -dependencies = [ - "rand_core 0.3.1", -] - [[package]] name = "redox_syscall" version = "0.5.3" @@ -3110,7 +3055,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ "digest", - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -3148,7 +3093,7 @@ dependencies = [ "blake2", "chacha20poly1305", "curve25519-dalek", - "rand_core 0.6.4", + "rand_core", "rustc_version", "sha2", "subtle", @@ -3176,7 +3121,7 @@ dependencies = [ "http 1.1.0", "httparse", "log", - "rand 0.8.5", + "rand", "sha1", ] @@ -3270,7 +3215,7 @@ dependencies = [ [[package]] name = "tester" -version = "0.1.0-rc.12" +version = "0.1.1" dependencies = [ "anyhow", "clap", @@ -3978,13 +3923,13 @@ dependencies = [ [[package]] name = "zksync_concurrency" -version = "0.1.0-rc.12" +version = "0.1.1" dependencies = [ "anyhow", "assert_matches", "once_cell", "pin-project", - "rand 0.8.5", + "rand", "sha3", "thiserror", "time", @@ -3996,14 +3941,14 @@ dependencies = [ [[package]] name = "zksync_consensus_bft" -version = "0.1.0-rc.12" +version = "0.1.1" dependencies = [ "anyhow", "assert_matches", "async-trait", "once_cell", "pretty_assertions", - "rand 0.8.5", + "rand", "test-casing", "thiserror", "tokio", @@ -4020,20 +3965,18 @@ dependencies = [ [[package]] name = "zksync_consensus_crypto" -version = "0.1.0-rc.12" +version = "0.1.1" dependencies = [ "anyhow", "blst", "criterion", "ed25519-dalek", "elliptic-curve", - "ff_ce", "hex", "k256", "num-bigint", "num-traits", - "rand 0.4.6", - "rand 0.8.5", + "rand", "sha3", "thiserror", "tracing", @@ -4042,11 +3985,11 @@ dependencies = [ [[package]] name = "zksync_consensus_executor" -version = "0.1.0-rc.12" +version = "0.1.1" dependencies = [ "anyhow", "async-trait", - "rand 0.8.5", + "rand", "semver", "test-casing", "tokio", @@ -4064,7 +4007,7 @@ dependencies = [ [[package]] name = "zksync_consensus_network" -version = "0.1.0-rc.12" +version = "0.1.1" dependencies = [ "anyhow", "assert_matches", @@ -4080,7 +4023,7 @@ dependencies = [ "pin-project", "pretty_assertions", "prost", - "rand 0.8.5", + "rand", "semver", "snow", "test-casing", @@ -4101,7 +4044,7 @@ dependencies = [ [[package]] name = "zksync_consensus_roles" -version = "0.1.0-rc.12" +version = "0.1.1" dependencies = [ "anyhow", "assert_matches", @@ -4109,7 +4052,7 @@ dependencies = [ "hex", "num-bigint", "prost", - "rand 0.8.5", + "rand", "serde", "thiserror", "tracing", @@ -4122,13 +4065,13 @@ dependencies = [ [[package]] name = "zksync_consensus_storage" -version = "0.1.0-rc.12" +version = "0.1.1" dependencies = [ "anyhow", "assert_matches", "async-trait", "prost", - "rand 0.8.5", + "rand", "tempfile", "test-casing", "thiserror", @@ -4144,7 +4087,7 @@ dependencies = [ [[package]] name = "zksync_consensus_tools" -version = "0.1.0-rc.12" +version = "0.1.1" dependencies = [ "anyhow", "async-trait", @@ -4153,7 +4096,7 @@ dependencies = [ "k8s-openapi", "kube", "prost", - "rand 0.8.5", + "rand", "rocksdb", "rustls-pemfile", "serde", @@ -4179,17 +4122,17 @@ dependencies = [ [[package]] name = "zksync_consensus_utils" -version = "0.1.0-rc.12" +version = "0.1.1" dependencies = [ "anyhow", - "rand 0.8.5", + "rand", "thiserror", "zksync_concurrency", ] [[package]] name = "zksync_protobuf" -version = "0.1.0-rc.12" +version = "0.1.1" dependencies = [ "anyhow", "bit-vec", @@ -4197,7 +4140,7 @@ dependencies = [ "prost", "prost-reflect", "quick-protobuf", - "rand 0.8.5", + "rand", "serde", "serde_json", "serde_yaml", @@ -4211,7 +4154,7 @@ dependencies = [ [[package]] name = "zksync_protobuf_build" -version = "0.1.0-rc.12" +version = "0.1.1" dependencies = [ "anyhow", "heck", diff --git a/node/Cargo.toml b/node/Cargo.toml index b0e7370a..a862c596 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -61,7 +61,6 @@ clap = { version = "4.3.3", features = ["derive"] } criterion = "0.5.1" ed25519-dalek = { version = "2.0.0", features = ["rand_core"] } elliptic-curve = { version = "0.13" } -ff_ce = "0.14.3" heck = "0.5.0" hex = "0.4.3" im = "15.1.0" @@ -83,7 +82,6 @@ protox = "0.5.0" quick-protobuf = "0.8.1" quote = "1.0.33" rand = "0.8.0" -rand04 = { package = "rand", version = "0.4" } rocksdb = "0.21.0" semver = "1.0.23" serde = { version = "1.0", features = ["derive"] } diff --git a/node/deny.toml b/node/deny.toml index 2d14d01b..a20c3658 100644 --- a/node/deny.toml +++ b/node/deny.toml @@ -46,8 +46,7 @@ skip = [ { name = "regex-automata", version = "0.1.10" }, { name = "regex-syntax", version = "0.6.29" }, - # Old versions required by pairing_ce & ff_ce. - { name = "rand", version = "0.4" }, + # Old version required by kube-runtime. { name = "syn", version = "1.0" }, # Old version required by protox 0.5.1. diff --git a/node/libs/crypto/Cargo.toml b/node/libs/crypto/Cargo.toml index 283fbdf8..0cb53a29 100644 --- a/node/libs/crypto/Cargo.toml +++ b/node/libs/crypto/Cargo.toml @@ -14,13 +14,11 @@ anyhow.workspace = true blst.workspace = true ed25519-dalek.workspace = true elliptic-curve.workspace = true -ff_ce.workspace = true hex.workspace = true k256.workspace = true num-bigint.workspace = true num-traits.workspace = true rand.workspace = true -rand04.workspace = true sha3.workspace = true thiserror.workspace = true tracing.workspace = true