Skip to content

Commit

Permalink
test: harmonization
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed May 7, 2024
1 parent 8d46f69 commit 613bddc
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
- uses: ./.github/actions/install-cache

- name: Run fork tests on chain ${{ matrix.chain }} in ${{ matrix.type }} mode
run: yarn test:forge:ethereum --chain ${{ matrix.chain }}
run: yarn test:forge:fork --chain ${{ matrix.chain }}
env:
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }}
FOUNDRY_FUZZ_RUNS: ${{ matrix.fuzz-runs }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"typecheck": "tsc --noEmit",
"test:forge": "FOUNDRY_PROFILE=test forge test",
"test:forge:local": "FOUNDRY_MATCH_CONTRACT=LocalTest yarn test:forge",
"test:forge:ethereum": "FOUNDRY_MATCH_CONTRACT=EthereumTest yarn test:forge",
"test:forge:fork": "FOUNDRY_MATCH_CONTRACT=ForkTest yarn test:forge",
"test:hardhat": "hardhat test",
"lint": "yarn lint:forge && yarn lint:ts",
"lint:ts": "prettier --check pkg",
Expand Down
2 changes: 1 addition & 1 deletion test/forge/fork/BundlerForkTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {BaseBundlerV2} from "../../../src/base/BaseBundlerV2.sol";

import "./helpers/ForkTest.sol";

contract EthereumBundlerEthereumTest is ForkTest {
contract EthereumBundlerForkTest is ForkTest {
using MathLib for uint256;
using MorphoLib for IMorpho;
using MorphoBalancesLib for IMorpho;
Expand Down
2 changes: 1 addition & 1 deletion test/forge/fork/Permit2BundlerForkTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "./helpers/ForkTest.sol";

error InvalidNonce();

contract Permit2BundlerEthereumTest is ForkTest {
contract Permit2BundlerForkTest is ForkTest {
using SafeTransferLib for ERC20;

function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion test/forge/fork/PermitBundlerForkTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import "./helpers/ForkTest.sol";
/// @dev The unique EIP-712 domain domain separator for the DAI token contract on Ethereum.
bytes32 constant DAI_DOMAIN_SEPARATOR = 0xdbb8cf42e1ecb028be3f3dbc922e1d878b963f411dc388ced501601c60f7c6f7;

contract EthereumPermitBundlerEthereumTest is ForkTest {
contract EthereumPermitBundlerForkTest is ForkTest {
function setUp() public override {
super.setUp();

Expand Down
2 changes: 1 addition & 1 deletion test/forge/fork/StEthBundlerForkTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import "./helpers/ForkTest.sol";

bytes32 constant BEACON_BALANCE_POSITION = 0xa66d35f054e68143c18f32c990ed5cb972bb68a68f500cd2dd3a16bbf3686483; // keccak256("lido.Lido.beaconBalance");

contract EthereumStEthBundlerEthereumTest is ForkTest {
contract EthereumStEthBundlerForkTest is ForkTest {
using SafeTransferLib for ERC20;

function setUp() public override {
Expand Down
2 changes: 1 addition & 1 deletion test/forge/fork/WNativeBundlerForkTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "../../../src/mocks/bundlers/WNativeBundlerMock.sol";

import "./helpers/ForkTest.sol";

contract WNativeBundlerEthereumTest is ForkTest {
contract WNativeBundlerForkTest is ForkTest {
function setUp() public override {
super.setUp();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "../../../../src/migration/AaveV2MigrationBundlerV2.sol";

import "./helpers/MigrationForkTest.sol";

contract AaveV2MigrationBundlerEthereumTest is MigrationForkTest {
contract AaveV2MigrationBundlerForkTest is MigrationForkTest {
using SafeTransferLib for ERC20;
using MarketParamsLib for MarketParams;
using MorphoLib for IMorpho;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "../../../../src/migration/AaveV3MigrationBundlerV2.sol";

import "./helpers/MigrationForkTest.sol";

contract AaveV3MigrationBundlerEthereumTest is MigrationForkTest {
contract AaveV3MigrationBundlerForkTest is MigrationForkTest {
using SafeTransferLib for ERC20;
using MarketParamsLib for MarketParams;
using MorphoLib for IMorpho;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "../../../../src/migration/AaveV3OptimizerMigrationBundlerV2.sol";

import "./helpers/MigrationForkTest.sol";

contract AaveV3OptimizerMigrationBundlerEthereumTest is MigrationForkTest {
contract AaveV3OptimizerMigrationBundlerForkTest is MigrationForkTest {
using SafeTransferLib for ERC20;
using MarketParamsLib for MarketParams;
using MorphoLib for IMorpho;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "../../../../src/migration/CompoundV2MigrationBundlerV2.sol";

import "./helpers/MigrationForkTest.sol";

contract CompoundV2EthLoanMigrationBundlerEthereumTest is MigrationForkTest {
contract CompoundV2EthLoanMigrationBundlerForkTest is MigrationForkTest {
using MathLib for uint256;
using SafeTransferLib for ERC20;
using MarketParamsLib for MarketParams;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "../../../../src/migration/CompoundV2MigrationBundlerV2.sol";

import "./helpers/MigrationForkTest.sol";

contract CompoundV2EthCollateralMigrationBundlerEthereumTest is MigrationForkTest {
contract CompoundV2EthCollateralMigrationBundlerForkTest is MigrationForkTest {
using MathLib for uint256;
using SafeTransferLib for ERC20;
using MarketParamsLib for MarketParams;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "../../../../src/migration/CompoundV2MigrationBundlerV2.sol";

import "./helpers/MigrationForkTest.sol";

contract CompoundV2NoEthMigrationBundlerEthereumTest is MigrationForkTest {
contract CompoundV2NoEthMigrationBundlerForkTest is MigrationForkTest {
using MathLib for uint256;
using SafeTransferLib for ERC20;
using MarketParamsLib for MarketParams;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "../../../../src/migration/CompoundV3MigrationBundlerV2.sol";

import "./helpers/MigrationForkTest.sol";

contract CompoundV3MigrationBundlerEthereumTest is MigrationForkTest {
contract CompoundV3MigrationBundlerForkTest is MigrationForkTest {
using SafeTransferLib for ERC20;
using MarketParamsLib for MarketParams;
using MorphoLib for IMorpho;
Expand Down

0 comments on commit 613bddc

Please sign in to comment.