Skip to content

Commit

Permalink
fix: fix warnings for older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Dec 20, 2023
1 parent 8be2649 commit 1d0027f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions crates/cheatcodes/assets/cheatcodes.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions crates/cheatcodes/spec/src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ interface Vm {

/// Returns an ordered array of all account accesses from a `vm.startStateDiffRecording` session.
#[cheatcode(group = Evm, safety = Safe)]
function stopAndReturnStateDiff() external returns (AccountAccess[] memory accesses);
function stopAndReturnStateDiff() external returns (AccountAccess[] memory accountAccesses);

// -------- Recording Map Writes --------

Expand Down Expand Up @@ -508,7 +508,7 @@ interface Vm {

/// Gets all the logs according to specified filter.
#[cheatcode(group = Evm, safety = Safe)]
function eth_getLogs(uint256 fromBlock, uint256 toBlock, address addr, bytes32[] memory topics)
function eth_getLogs(uint256 fromBlock, uint256 toBlock, address target, bytes32[] memory topics)
external
returns (EthGetLogs[] memory logs);

Expand Down
4 changes: 2 additions & 2 deletions testdata/cheats/Vm.sol

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d0027f

Please sign in to comment.