From c62ac0cd5ec189a351ceee9483166b4e4fce89d9 Mon Sep 17 00:00:00 2001 From: Nicolas Villanueva Date: Wed, 15 May 2024 13:34:23 +0100 Subject: [PATCH] fix: add missing version support and increase version in toml (#283) --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/fork.rs | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5a251c09..8976062d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2017,7 +2017,7 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "era_test_node" -version = "0.1.0-alpha.19" +version = "0.1.0-alpha.21" dependencies = [ "anyhow", "bigdecimal", diff --git a/Cargo.toml b/Cargo.toml index 1589ee13..77044585 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "era_test_node" -version = "0.1.0-alpha.19" +version = "0.1.0-alpha.21" edition = "2018" authors = ["The Matter Labs Team "] homepage = "https://zksync.io/" diff --git a/src/fork.rs b/src/fork.rs index 77b76896..8728cfc1 100644 --- a/src/fork.rs +++ b/src/fork.rs @@ -334,6 +334,9 @@ const SUPPORTED_VERSIONS: &[ProtocolVersionId] = &[ ProtocolVersionId::Version20, ProtocolVersionId::Version21, ProtocolVersionId::Version22, + ProtocolVersionId::Version23, + ProtocolVersionId::Version24, + ProtocolVersionId::Version25, ]; pub fn supported_protocol_versions(version: ProtocolVersionId) -> bool {