allowCheatcodes
Signature
Section titled “Signature”function allowCheatcodes(address) external;Description
Section titled “Description”In forking mode, explicitly grant the given address cheatcode access.
By default, the test contract, and its deployer are allowed to access cheatcodes. In addition to that, cheat code access is granted if the contract was deployed by an address that already has cheatcode access. This will prevent cheatcode access from accounts already deployed on the forked network.