Skip to content

Commit

Permalink
fix: mark permit2 test setup as virtual (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-carroll authored Oct 23, 2024
1 parent d20e22b commit 0a239fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/Permit2Orders.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ contract OrderOriginPermit2Test is Permit2BatchTest {

event Filled(IOrders.Output[] outputs);

function setUp() public {
function setUp() public virtual {
vm.createSelectFork("https://ethereum-rpc.publicnode.com");
// deploy token
token = address(new TestERC20("hi", "HI"));
Expand Down
4 changes: 2 additions & 2 deletions test/Permit2Passage.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ contract PassagePermit2Test is SharedPermit2Test {
uint256 indexed rollupChainId, address indexed rollupRecipient, address indexed token, uint256 amount
);

function setUp() public {
function setUp() public virtual {
vm.createSelectFork("https://ethereum-rpc.publicnode.com");

// deploy token
Expand Down Expand Up @@ -119,7 +119,7 @@ contract RollupPassagePermit2Test is SharedPermit2Test {

event ExitToken(address indexed hostRecipient, address indexed token, uint256 amount);

function setUp() public {
function setUp() public virtual {
vm.createSelectFork("https://ethereum-rpc.publicnode.com");

// deploy token & approve permit2
Expand Down

0 comments on commit 0a239fc

Please sign in to comment.