Skip to content

Commit

Permalink
Merge branch 'nish-update-revm' of github.com:matter-labs/foundry-zks…
Browse files Browse the repository at this point in the history
…ync into nish-update-revm
  • Loading branch information
nbaztec committed Dec 6, 2023
2 parents 1ccebd2 + 9b23eab commit ec0fe2b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/common/src/zk_compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,12 @@ impl ZkSolc {
if key.contains(source) {
let contracts_in_file = compiler_output.contracts.get(key).unwrap();
for (contract_name, contract) in contracts_in_file {
// if contract hash is empty, skip
if contract.hash.is_none() {
println!("{} -> empty contract.hash", contract_name);
continue
}

println!(
"{} -> Bytecode Hash: {} ",
contract_name,
Expand Down

0 comments on commit ec0fe2b

Please sign in to comment.