Skip to content

Commit d26946a

Browse files
authored
feat: add allowCheatcodes (#182)
1 parent 5b19757 commit d26946a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Vm.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ interface Vm {
208208
// Returns true if the account is marked as persistent
209209
function isPersistent(address) external returns (bool);
210210

211+
// In forking mode, explicitly grant the given address cheatcode access
212+
function allowCheatcodes(address) external;
213+
211214
// Returns the RPC url for the given alias
212215
function rpcUrl(string calldata) external returns(string memory);
213216
// Returns all rpc urls and their aliases `[alias, url][]`

0 commit comments

Comments
 (0)