diff --git a/.env.example b/.env.example index 5df3e0df2..be9267054 100644 --- a/.env.example +++ b/.env.example @@ -13,7 +13,7 @@ WEB3_INFURA_PROJECT_ID= ETH_RPC_URL= ## Base L2 node endpoint ## -BASE_ETH_RPC_URL= +L2_ETH_RPC_URL= ## EOA Contract Deployer ## ETH_FROM= diff --git a/.github/workflows/forge-test.yml b/.github/workflows/forge-test.yml index 765d830be..870fa21f4 100644 --- a/.github/workflows/forge-test.yml +++ b/.github/workflows/forge-test.yml @@ -5,7 +5,7 @@ on: [push] env: FOUNDRY_PROFILE: ci ETH_RPC_URL: ${{secrets.ETH_RPC_URL}} ## Loads environment from secrets - BASE_ETH_RPC_URL: ${{secrets.BASE_ETH_RPC_URL}} + L2_ETH_RPC_URL: ${{secrets.L2_ETH_RPC_URL}} jobs: check: diff --git a/tests/forge/unit/ERC20Pool/ERC20PoolReserveAuction.t.sol b/tests/forge/unit/ERC20Pool/ERC20PoolReserveAuction.t.sol index c064fd522..e4beae232 100644 --- a/tests/forge/unit/ERC20Pool/ERC20PoolReserveAuction.t.sol +++ b/tests/forge/unit/ERC20Pool/ERC20PoolReserveAuction.t.sol @@ -338,9 +338,9 @@ contract L2ERC20PoolReserveAuctionTest is Test { address internal _bidder; function setUp() public { - vm.createSelectFork(vm.envString("BASE_ETH_RPC_URL")); + vm.createSelectFork(vm.envString("L2_ETH_RPC_URL")); - // Base L2 bwAJNA token address + // L2 bwAJNA token address (example is for Base) _ajna = ERC20(0xf0f326af3b1Ed943ab95C29470730CC8Cf66ae47); _collateral = new Token("Collateral", "C"); _quote = new Token("Quote", "Q");