From 6a86e34ac98818b01abad4138bdc5ed18a960570 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Wed, 21 Sep 2022 15:30:13 +0200 Subject: [PATCH] feat: add allowCheatcodes --- src/Vm.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Vm.sol b/src/Vm.sol index 470374fd..f2e71ee2 100644 --- a/src/Vm.sol +++ b/src/Vm.sol @@ -208,6 +208,9 @@ interface Vm { // Returns true if the account is marked as persistent function isPersistent(address) external returns (bool); + // In forking mode, explicitly grant the given address cheatcode access + function allowCheatcodes(address) external; + // Returns the RPC url for the given alias function rpcUrl(string calldata) external returns(string memory); // Returns all rpc urls and their aliases `[alias, url][]`