Skip to content

Commit

Permalink
turn other tests back on
Browse files Browse the repository at this point in the history
  • Loading branch information
djviau committed Jul 17, 2023
1 parent d6edb0a commit 84b02f0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 31 deletions.
56 changes: 28 additions & 28 deletions test/GenericMarketplaceTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,45 +49,45 @@ contract GenericMarketplaceTest is BaseOrderTest {
zeroExConfig = BaseMarketConfig(new ZeroExConfig());
}

// function testBlur() external {
// benchmarkMarket(blurConfig);
// }
function testBlur() external {
benchmarkMarket(blurConfig);
}

function testBlurV2() external {
benchmarkMarket(blurV2Config);
}

// function testFoundation() external {
// benchmarkMarket(foundationConfig);
// }
function testFoundation() external {
benchmarkMarket(foundationConfig);
}

// function testLooksRare() external {
// benchmarkMarket(looksRareConfig);
// }
function testLooksRare() external {
benchmarkMarket(looksRareConfig);
}

// function testSeaportOnePointFour() external {
// benchmarkMarket(seaportOnePointFourConfig);
// }
function testSeaportOnePointFour() external {
benchmarkMarket(seaportOnePointFourConfig);
}

// function testSeaportOnePointOne() external {
// benchmarkMarket(seaportOnePointOneConfig);
// }
function testSeaportOnePointOne() external {
benchmarkMarket(seaportOnePointOneConfig);
}

// function testSudoswap() external {
// benchmarkMarket(sudoswapConfig);
// }
function testSudoswap() external {
benchmarkMarket(sudoswapConfig);
}

// function testX2Y2() external {
// benchmarkMarket(x2y2Config);
// }
function testX2Y2() external {
benchmarkMarket(x2y2Config);
}

// function testZeroEx() external {
// benchmarkMarket(zeroExConfig);
// }
function testZeroEx() external {
benchmarkMarket(zeroExConfig);
}

// // function testWyvern() external {
// // benchmarkMarket(wyvernConfig);
// // }
// function testWyvern() external {
// benchmarkMarket(wyvernConfig);
// }

function benchmarkMarket(BaseMarketConfig config) public {
beforeAllPrepareMarketplaceTest(config);
Expand Down Expand Up @@ -144,7 +144,7 @@ contract GenericMarketplaceTest is BaseOrderTest {
hevm.startPrank(setupCalls[i].sender);
(bool success, ) = (setupCalls[i].target).call(setupCalls[i].data);
if (!success) {
console.log("Failed");
emit log("Failed");
}
hevm.stopPrank();
}
Expand Down
3 changes: 0 additions & 3 deletions test/utils/BaseOrderTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import { TestERC20 } from "../tokens/TestERC20.sol";
import { WETH } from "../tokens/WETH.sol";
import { TestERC721 } from "../tokens/TestERC721.sol";

import "forge-std/console.sol";

contract BaseOrderTest is DSTestPlus {
using stdStorage for StdStorage;

Expand Down Expand Up @@ -148,7 +146,6 @@ contract BaseOrderTest is DSTestPlus {
erc20s[i].approve(_erc20Target, MAX_INT);
}
weth.approve(_erc20Target, MAX_INT);
// beth.approve(_erc20Target, MAX_INT);
for (uint256 i = 0; i < erc721s.length; i++) {
erc721s[i].setApprovalForAll(_erc721Target, true);
}
Expand Down

0 comments on commit 84b02f0

Please sign in to comment.