Skip to content

Commit

Permalink
fix: add missing version support and increase version in toml (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
MexicanAce authored May 15, 2024
1 parent ae81a43 commit c62ac0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
homepage = "https://zksync.io/"
Expand Down
3 changes: 3 additions & 0 deletions src/fork.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c62ac0c

Please sign in to comment.