Skip to content

Commit

Permalink
Fixed testMain - V2Helper needed verification addr
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSparksCode committed Nov 5, 2023
1 parent 75d7407 commit 8e84210
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions test/MainTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ pragma solidity ^0.8.18;

import {SafeTransferLib, ERC20} from "solmate/utils/SafeTransferLib.sol";

import {IEscrow} from "../src/contracts/interfaces/IEscrow.sol";
import {IAtlas} from "../src/contracts/interfaces/IAtlas.sol";
import {IDAppIntegration} from "../src/contracts/interfaces/IDAppIntegration.sol";
import {IExecutionEnvironment} from "../src/contracts/interfaces/IExecutionEnvironment.sol";

Expand Down
4 changes: 2 additions & 2 deletions test/V2Helper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ contract V2Helper is Test, TestConstants, TxBuilder {

uint256 public immutable maxFeePerGas;

constructor(address controller, address escrowAddress, address atlasAddress)
TxBuilder(controller, escrowAddress, atlasAddress)
constructor(address controller, address atlasAddress, address verification)
TxBuilder(controller, atlasAddress, verification)
{
maxFeePerGas = tx.gasprice * 2;
}
Expand Down
2 changes: 1 addition & 1 deletion test/base/BaseTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ contract BaseTest is Test, TestConstants {
deal(TOKEN_ZERO, address(solverTwo), 10e24);
deal(TOKEN_ONE, address(solverTwo), 10e24);

helper = new V2Helper(address(control), escrow, address(atlas));
helper = new V2Helper(address(control), address(atlas), address(atlasVerification));

deal(TOKEN_ZERO, address(atlas), 1);
deal(TOKEN_ONE, address(atlas), 1);
Expand Down

0 comments on commit 8e84210

Please sign in to comment.