Skip to content

Commit

Permalink
Update crates/common/src/compile.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Nisheeth Barthwal <[email protected]>
  • Loading branch information
elfedy and nbaztec authored Jan 22, 2025
1 parent 01eb12a commit df815ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/common/src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ impl ProjectCompiler {
let zksolc_min_supported_version = ZkSolc::zksolc_minimum_supported_version();
let zksolc_latest_supported_version = ZkSolc::zksolc_latest_supported_version();
if zksolc_current_version < zksolc_min_supported_version {
sh_warn!("Compiling with zksolc v{zksolc_current_version} which is not supported and may lead to unexpected errors. Minimum version supported is v{zksolc_min_supported_version}")?;
sh_warn!("Compiling with zksolc v{zksolc_current_version} which is not supported and may lead to unexpected errors. Minimum supported version is v{zksolc_min_supported_version}")?;
}
if zksolc_current_version > zksolc_latest_supported_version {
sh_warn!("Compiling with zksolc v{zksolc_current_version} which is still not supported and may lead to unexpected errors. Latest version supported is v{zksolc_latest_supported_version}")?;
Expand Down

0 comments on commit df815ab

Please sign in to comment.