Skip to content

Commit

Permalink
Merge branch 'main' into nish-test-failure
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Dec 7, 2023
2 parents 5374f31 + 2e4fb0a commit 8173fef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Temporarily exclude rusoto and ethers-providers from bans since we've yet to transition to the
# Rust AWS SDK.
exclude = ["rusoto_core", "rusoto_kms", "rusoto_credential", "ethers-providers", "tungstenite", "const_format"]
exclude = ["rusoto_core", "rusoto_kms", "rusoto_credential", "ethers-providers", "tungstenite", "const_format", "zksync-era", "rsa"]

# This section is considered when running `cargo deny check advisories`
# More documentation for the advisories section can be found here:
Expand Down

0 comments on commit 8173fef

Please sign in to comment.