Skip to content

Commit

Permalink
print erroneous address in log
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Jul 30, 2024
1 parent d70695e commit 81445b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/zksync/core/src/cheatcodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ where
<DB as Database>::Error: Debug,
{
if address == caller {
tracing::error!("using `mockCall` cheatcode on caller isn't supported in zkVM");
tracing::error!(
"using `mockCall` cheatcode on caller ({address:?}) isn't supported in zkVM"
);
}

let account_code_addr = zksync_types::ACCOUNT_CODE_STORAGE_ADDRESS.to_address();
Expand Down

0 comments on commit 81445b9

Please sign in to comment.