Skip to content

Commit

Permalink
fix: rename ETH_FORK to ATTACH_
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmikko committed Oct 16, 2023
1 parent d2eb074 commit cd80746
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/test/helpers/IntegrationTestHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ contract IntegrationTestHelper is TestHelper, BalanceHelper, ConfigManager {

bool skipTest = false;

try vm.envAddress("ETH_FORK_CREDIT_MANAGER") returns (address) {
creditManagerAddr = vm.envAddress("ETH_FORK_CREDIT_MANAGER");
try vm.envAddress("ATTACH_CREDIT_MANAGER") returns (address) {
creditManagerAddr = vm.envAddress("ATTACH_CREDIT_MANAGER");
} catch {
revert("Credit manager address not set");
}
Expand Down Expand Up @@ -276,10 +276,10 @@ contract IntegrationTestHelper is TestHelper, BalanceHelper, ConfigManager {
}

function _attachCore() internal {
try vm.envAddress("ETH_FORK_ADDRESS_PROVIDER") returns (address val) {
try vm.envAddress("ATTACH_ADDRESS_PROVIDER") returns (address val) {
addressProvider = IAddressProviderV3(val);
} catch {
revert("ETH_FORK_ADDRESS_PROVIDER is not provided");
revert("ATTACH_ADDRESS_PROVIDER is not provided");
}

console.log("Starting mainnet test with address provider: %s", address(addressProvider));
Expand Down

0 comments on commit cd80746

Please sign in to comment.