Skip to content

Commit

Permalink
Merge pull request #459 from morpho-org/fix/restore-steth-fork-test
Browse files Browse the repository at this point in the history
Run StEth fork test by default
  • Loading branch information
MathisGD authored Oct 28, 2024
2 parents c8f59d9 + 005b034 commit a18dd8b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions test/forge/fork/StEthBundlerForkTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ contract EthereumStEthBundlerForkTest is ForkTest {
using SafeTransferLib for ERC20;

function setUp() public override {
if (block.chainid != 1) return;

super.setUp();

if (block.chainid != 1) return;

bundler = new EthereumStEthBundlerMock();
}

Expand Down
4 changes: 2 additions & 2 deletions test/forge/fork/migration/AaveV2MigrationBundlerForkTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ contract AaveV2MigrationBundlerForkTest is MigrationForkTest {
uint256 borrowed = 1 ether;

function setUp() public override {
if (block.chainid != 1) return;

super.setUp();

if (block.chainid != 1) return;

_initMarket(DAI, WETH);

vm.label(AAVE_V2_POOL, "Aave V2 Pool");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ contract CompoundV2EthLoanMigrationBundlerForkTest is MigrationForkTest {
address[] internal enteredMarkets;

function setUp() public override {
if (block.chainid != 1) return;

super.setUp();

if (block.chainid != 1) return;

_initMarket(DAI, WETH);

bundler = new CompoundV2MigrationBundlerV2(address(morpho), WETH, C_ETH_V2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ contract CompoundV2EthCollateralMigrationBundlerForkTest is MigrationForkTest {
address[] internal enteredMarkets;

function setUp() public override {
if (block.chainid != 1) return;

super.setUp();

if (block.chainid != 1) return;

_initMarket(WETH, DAI);

bundler = new CompoundV2MigrationBundlerV2(address(morpho), WETH, C_ETH_V2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ contract CompoundV2NoEthMigrationBundlerForkTest is MigrationForkTest {
address[] internal enteredMarkets;

function setUp() public override {
if (block.chainid != 1) return;

super.setUp();

if (block.chainid != 1) return;

_initMarket(DAI, USDC);

bundler = new CompoundV2MigrationBundlerV2(address(morpho), WETH, C_ETH_V2);
Expand Down

0 comments on commit a18dd8b

Please sign in to comment.