Skip to content

Commit

Permalink
chore: comment why ecx_inner
Browse files Browse the repository at this point in the history
  • Loading branch information
Karrq committed Dec 2, 2024
1 parent fe2c73b commit f1e3ba3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/cheatcodes/src/inspector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1584,6 +1584,8 @@ where {
};
}

// NOTE(zk): renamed from `ecx` because we need the full one later
// and this helps with borrow checker
let ecx_inner = &mut ecx.inner;

if call.target_address == HARDHAT_CONSOLE_ADDRESS {
Expand Down

0 comments on commit f1e3ba3

Please sign in to comment.