ityfuzz icon indicating copy to clipboard operation
ityfuzz copied to clipboard

`vm.startPrank` is broken

Open shouc opened this issue 1 year ago • 0 comments

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import {Test, console2} from "forge-std/Test.sol";
import {XXX} from "../src/XXX.sol";

contract Inv1 is Test {
    XXX usdc;
    function setUp() public {
        vm.startPrank(address(0x1)); // <= reverts
    }
}

shouc avatar Feb 21 '24 18:02 shouc