diff --git a/node/Cargo.lock b/node/Cargo.lock index 46f89e46..8a4ad5b3 100644 --- a/node/Cargo.lock +++ b/node/Cargo.lock @@ -3299,7 +3299,7 @@ dependencies = [ [[package]] name = "tester" -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" dependencies = [ "anyhow", "clap", @@ -4007,7 +4007,7 @@ dependencies = [ [[package]] name = "zksync_concurrency" -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" dependencies = [ "anyhow", "assert_matches", @@ -4025,7 +4025,7 @@ dependencies = [ [[package]] name = "zksync_consensus_bft" -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" dependencies = [ "anyhow", "assert_matches", @@ -4049,7 +4049,7 @@ dependencies = [ [[package]] name = "zksync_consensus_crypto" -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" dependencies = [ "anyhow", "blst", @@ -4072,7 +4072,7 @@ dependencies = [ [[package]] name = "zksync_consensus_executor" -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" dependencies = [ "anyhow", "async-trait", @@ -4093,7 +4093,7 @@ dependencies = [ [[package]] name = "zksync_consensus_network" -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" dependencies = [ "anyhow", "assert_matches", @@ -4129,7 +4129,7 @@ dependencies = [ [[package]] name = "zksync_consensus_roles" -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" dependencies = [ "anyhow", "assert_matches", @@ -4150,7 +4150,7 @@ dependencies = [ [[package]] name = "zksync_consensus_storage" -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" dependencies = [ "anyhow", "assert_matches", @@ -4172,7 +4172,7 @@ dependencies = [ [[package]] name = "zksync_consensus_tools" -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" dependencies = [ "anyhow", "async-trait", @@ -4207,7 +4207,7 @@ dependencies = [ [[package]] name = "zksync_consensus_utils" -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" dependencies = [ "anyhow", "rand 0.8.5", @@ -4217,7 +4217,7 @@ dependencies = [ [[package]] name = "zksync_protobuf" -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" dependencies = [ "anyhow", "bit-vec", @@ -4239,7 +4239,7 @@ dependencies = [ [[package]] name = "zksync_protobuf_build" -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" dependencies = [ "anyhow", "heck", diff --git a/node/Cargo.toml b/node/Cargo.toml index ae3ab87d..5490c8f8 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -22,23 +22,23 @@ homepage = "https://matter-labs.io/" repository = "https://github.com/matter-labs/era-consensus" license = "MIT OR Apache-2.0" keywords = ["blockchain", "zksync"] -version = "0.1.0-rc.9" +version = "0.1.0-rc.10" [workspace.dependencies] # Crates from this repo. -zksync_consensus_bft = { version = "=0.1.0-rc.9", path = "actors/bft" } -zksync_consensus_crypto = { version = "=0.1.0-rc.9", path = "libs/crypto" } -zksync_consensus_executor = { version = "=0.1.0-rc.9", path = "actors/executor" } -zksync_consensus_network = { version = "=0.1.0-rc.9", path = "actors/network" } -zksync_consensus_roles = { version = "=0.1.0-rc.9", path = "libs/roles" } -zksync_consensus_storage = { version = "=0.1.0-rc.9", path = "libs/storage" } -zksync_consensus_tools = { version = "=0.1.0-rc.9", path = "tools" } -zksync_consensus_utils = { version = "=0.1.0-rc.9", path = "libs/utils" } +zksync_consensus_bft = { version = "=0.1.0-rc.10", path = "actors/bft" } +zksync_consensus_crypto = { version = "=0.1.0-rc.10", path = "libs/crypto" } +zksync_consensus_executor = { version = "=0.1.0-rc.10", path = "actors/executor" } +zksync_consensus_network = { version = "=0.1.0-rc.10", path = "actors/network" } +zksync_consensus_roles = { version = "=0.1.0-rc.10", path = "libs/roles" } +zksync_consensus_storage = { version = "=0.1.0-rc.10", path = "libs/storage" } +zksync_consensus_tools = { version = "=0.1.0-rc.10", path = "tools" } +zksync_consensus_utils = { version = "=0.1.0-rc.10", path = "libs/utils" } # Crates from this repo that might become independent in the future. -zksync_concurrency = { version = "=0.1.0-rc.9", path = "libs/concurrency" } -zksync_protobuf = { version = "=0.1.0-rc.9", path = "libs/protobuf" } -zksync_protobuf_build = { version = "=0.1.0-rc.9", path = "libs/protobuf_build" } +zksync_concurrency = { version = "=0.1.0-rc.10", path = "libs/concurrency" } +zksync_protobuf = { version = "=0.1.0-rc.10", path = "libs/protobuf" } +zksync_protobuf_build = { version = "=0.1.0-rc.10", path = "libs/protobuf_build" } # Crates from Matter Labs. pairing = { package = "pairing_ce", version = "=0.28.6" } diff --git a/node/actors/network/src/noise/stream.rs b/node/actors/network/src/noise/stream.rs index 2e9462f9..7e903a2a 100644 --- a/node/actors/network/src/noise/stream.rs +++ b/node/actors/network/src/noise/stream.rs @@ -48,7 +48,7 @@ const MAX_PAYLOAD_LEN: usize = MAX_TRANSPORT_MSG_LEN - AUTHDATA_LEN; /// ++ . /// /// Length of the frame len field. -const LENGTH_FIELD_LEN: usize = std::mem::size_of::(); +const LENGTH_FIELD_LEN: usize = size_of::(); /// Max size of the whole frame (length field + data). const MAX_FRAME_LEN: usize = MAX_TRANSPORT_MSG_LEN + LENGTH_FIELD_LEN; diff --git a/rust-toolchain b/rust-toolchain deleted file mode 100644 index 32a89c96..00000000 --- a/rust-toolchain +++ /dev/null @@ -1 +0,0 @@ -stable-2024-06-13 \ No newline at end of file