Skip to content

Commit

Permalink
fix: bump svm version to v0.3.5 (matter-labs#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
OmegaTymbJIep authored Mar 21, 2024
1 parent 4307bfb commit 4f61383
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

5 changes: 3 additions & 2 deletions crates/common/src/zk_compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ pub fn compile_smart_contracts(
Ok(output)
}
Err(err) => {
eyre::bail!("Failed to compile smart contracts with zksolc: {}", err);
eyre::bail!("Failed to compile smart contracts with zksolc: {:#}", err);
}
}
}
Expand Down Expand Up @@ -1053,7 +1053,8 @@ impl ZkSolc {
/// The versioned sources can then be used for further processing or analysis.
fn get_versioned_sources(&mut self) -> Result<BTreeMap<Solc, SolidityVersionSources>> {
// Step 1: Retrieve Project Sources
let sources = self.project.paths.read_input_files()?;
let sources =
self.project.paths.read_input_files().wrap_err("Could not read input files")?;

// Step 2: Resolve Graph of Sources and Versions
let graph = Graph::resolve_sources(&self.project.paths, sources)
Expand Down
2 changes: 1 addition & 1 deletion crates/forge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ paste = "1.0"
path-slash = "0.2"
pretty_assertions.workspace = true
serial_test = "2"
svm = { package = "svm-rs", version = "0.3", default-features = false, features = ["rustls"] }
svm = { package = "svm-rs", version = "0.3.5", default-features = false, features = ["rustls"] }
tempfile = "3"
tracing-subscriber = { workspace = true, features = ["env-filter", "fmt"] }

Expand Down
2 changes: 1 addition & 1 deletion crates/zkforge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ paste = "1.0"
path-slash = "0.2"
pretty_assertions.workspace = true
serial_test = "2"
svm = { package = "svm-rs", version = "0.3", default-features = false, features = ["rustls"] }
svm = { package = "svm-rs", version = "0.3.5", default-features = false, features = ["rustls"] }
tempfile = "3"
tracing-subscriber = { workspace = true, features = ["env-filter", "fmt"] }

Expand Down

0 comments on commit 4f61383

Please sign in to comment.