Skip to content

fix: mark permit2 test setup as virtual #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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