From de336f30fa98865fee9c3f258787b11487e8d01c Mon Sep 17 00:00:00 2001 From: MathisGD Date: Mon, 13 May 2024 23:38:10 +0200 Subject: [PATCH] test: fix tests on base --- .../fork/migration/AaveV3MigrationBundlerForkTest.sol | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/forge/fork/migration/AaveV3MigrationBundlerForkTest.sol b/test/forge/fork/migration/AaveV3MigrationBundlerForkTest.sol index c0179349..bd29224c 100644 --- a/test/forge/fork/migration/AaveV3MigrationBundlerForkTest.sol +++ b/test/forge/fork/migration/AaveV3MigrationBundlerForkTest.sol @@ -17,13 +17,17 @@ contract AaveV3MigrationBundlerForkTest is MigrationForkTest { uint256 public constant RATE_MODE = 2; - uint256 collateralSupplied = 10_000 ether; + uint256 collateralSupplied = 1_000 ether; uint256 borrowed = 1 ether; function setUp() public override { super.setUp(); - _initMarket(WST_ETH, WETH); + if (block.chainid == 1) { + _initMarket(DAI, WETH); + } else if (block.chainid == 8453) { + _initMarket(CB_ETH, WETH); + } vm.label(AAVE_V3_POOL, "Aave V3 Pool");