Skip to content

Commit

Permalink
Merge branch 'main' into feat/zksolc-1.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Karrq authored Nov 4, 2024
2 parents a5f80e3 + 883034d commit 56602c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/verify/src/zksync/standard_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ impl ZksyncSourceProvider for ZksyncStandardJsonSource {
&self,
context: &ZkVerificationContext,
) -> Result<(StandardJsonCompilerInput, String)> {
let input = foundry_compilers::zksync::project_standard_json_input(
let mut input = foundry_compilers::zksync::project_standard_json_input(
&context.project,
&context.target_path,
)
.wrap_err("failed to get zksolc standard json")?;

// Sanitize the input
input.settings = input.settings.clone().sanitized(&context.compiler_version.solc);

let relative_path = context
.target_path
.strip_prefix(context.project.root())
Expand Down

0 comments on commit 56602c8

Please sign in to comment.