Skip to content

Commit

Permalink
fix log level for nonce revert
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Jan 27, 2025
1 parent b69695a commit 3803790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/zksync/core/src/vm/inspect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ where
if let Some(initiator_nonce) = modified_storage.get_mut(&initiator_nonce_key) {
let FullNonce { tx_nonce, deploy_nonce } = parse_full_nonce(initiator_nonce.to_ru256());
let new_tx_nonce = tx_nonce.saturating_sub(1);
error!(address=?initiator_address, from=?tx_nonce, to=?new_tx_nonce, deploy_nonce, "reverting initiator tx nonce for CALL");
trace!(address=?initiator_address, from=?tx_nonce, to=?new_tx_nonce, deploy_nonce, "reverting initiator tx nonce for CALL");
*initiator_nonce = new_full_nonce(new_tx_nonce, deploy_nonce).to_h256();
}

Expand Down

0 comments on commit 3803790

Please sign in to comment.