Skip to content

Commit

Permalink
update to Evm group
Browse files Browse the repository at this point in the history
  • Loading branch information
TropicalDog17 committed Jun 26, 2024
1 parent 22d6977 commit 683732d
Show file tree
Hide file tree
Showing 2 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.

8 changes: 4 additions & 4 deletions crates/cheatcodes/spec/src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,10 @@ interface Vm {
#[cheatcode(group = Evm, safety = Safe)]
function getBlobBaseFee() external view returns (uint256 blobBaseFee);

/// Set blockhash for the current block.
#[cheatcode(group = Evm, safety = Unsafe)]
function setBlockhash(uint256 blockNumber, bytes32 blockHash) external;

// -------- Account State --------

/// Sets an address' balance.
Expand Down Expand Up @@ -2155,10 +2159,6 @@ interface Vm {
/// Returns a random `address`.
#[cheatcode(group = Utilities)]
function randomAddress() external returns (address);

/// Set blockhash for the current block.
#[cheatcode(group = Utilities)]
function setBlockhash(uint256 blockNumber, bytes32 blockHash) external;
}
}

Expand Down

0 comments on commit 683732d

Please sign in to comment.