Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Update zksolc-bin to version v1.5.7 #239

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .zksolc-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.5.6
v1.5.7
6 changes: 4 additions & 2 deletions api/src/utils/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ pub const CARGO_MANIFEST_DIR: &str = env!("CARGO_MANIFEST_DIR");

pub const DURATION_TO_PURGE: u64 = 60 * 5; // 5 minutes

pub const ZKSOLC_VERSIONS: [&str; 4] = ["1.5.6", "1.5.5", "1.4.1", "1.4.0"];
// Array of supported compile versions in decreasing order
pub const ZKSOLC_VERSIONS: [&str; 5] = ["1.5.7", "1.5.6", "1.5.5", "1.4.1", "1.4.0"];

pub const DEFAULT_SOLIDITY_VERSION: &str = "0.8.24";

pub const DEFAULT_ZKSOLC_VERSION: &str = "1.5.6";
// Use latest compiler version as default
pub const DEFAULT_ZKSOLC_VERSION: &str = ZKSOLC_VERSIONS[0];

pub const ALLOWED_NETWORKS: [&str; 2] = ["sepolia", "mainnet"];

Expand Down
Loading