Skip to content

Commit 0a239fc

Browse files
authored
fix: mark permit2 test setup as virtual (#80)
1 parent d20e22b commit 0a239fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/Permit2Orders.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ contract OrderOriginPermit2Test is Permit2BatchTest {
4545

4646
event Filled(IOrders.Output[] outputs);
4747

48-
function setUp() public {
48+
function setUp() public virtual {
4949
vm.createSelectFork("https://ethereum-rpc.publicnode.com");
5050
// deploy token
5151
token = address(new TestERC20("hi", "HI"));

test/Permit2Passage.t.sol

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ contract PassagePermit2Test is SharedPermit2Test {
4141
uint256 indexed rollupChainId, address indexed rollupRecipient, address indexed token, uint256 amount
4242
);
4343

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

4747
// deploy token
@@ -119,7 +119,7 @@ contract RollupPassagePermit2Test is SharedPermit2Test {
119119

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

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

125125
// deploy token & approve permit2

0 commit comments

Comments
 (0)