Skip to content

Commit

Permalink
Update crates/cheatcodes/src/inspector.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Nisheeth Barthwal <[email protected]>
  • Loading branch information
Jrigada and nbaztec authored Sep 20, 2024
1 parent 2888a3c commit e4588b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cheatcodes/src/inspector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ impl Cheatcodes {
.info
.nonce;
let address = caller.create(nonce);
if let Some(true) = ecx.db.get_test_contract_address().map(|addr| address == addr) {
if ecx.db.get_test_contract_address().map(|addr| address == addr).unwrap_or_default() {
info!("running create in EVM, instead of zkEVM (Test Contract) {:#?}", address);
return None
}
Expand Down

0 comments on commit e4588b2

Please sign in to comment.