Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit afbdb0c

Browse files
committed
fix: smol
1 parent 3630180 commit afbdb0c

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

contracts/ionic/strategies/IonicERC4626.sol

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ abstract contract IonicERC4626 is SafeOwnableUpgradeable, PausableUpgradeable, E
3131

3232
/* ========== INITIALIZER ========== */
3333

34-
function __MidasER4626_init(ERC20Upgradeable asset_) internal onlyInitializing {
34+
function __IonicER4626_init(ERC20Upgradeable asset_) internal onlyInitializing {
3535
__SafeOwnable_init(msg.sender);
3636
__Pausable_init();
3737
__Context_init();
3838
__ERC20_init(
39-
string(abi.encodePacked("Midas ", asset_.name(), " Vault")),
39+
string(abi.encodePacked("Ionic ", asset_.name(), " Vault")),
4040
string(abi.encodePacked("mv", asset_.symbol()))
4141
);
4242
__ERC4626_init(asset_);

contracts/test/config/BaseTest.t.sol

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ abstract contract BaseTest is Test {
2121
uint128 constant LINEA_MAINNET = 59144;
2222
uint128 constant ZKEVM_MAINNET = 1101;
2323
uint128 constant MODE_MAINNET = 34443;
24+
uint128 constant BASE_MAINNET = 8453;
2425

2526
// taken from ERC1967Upgrade
2627
bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;
@@ -157,6 +158,8 @@ abstract contract BaseTest is Test {
157158
forkIds[chainidWithOffset] = vm.createFork(vm.rpcUrl("zkevm_archive")) + 100;
158159
} else if (chainid == MODE_MAINNET) {
159160
forkIds[chainidWithOffset] = vm.createFork(vm.rpcUrl("mode_archive")) + 100;
161+
} else if (chainid == BASE_MAINNET) {
162+
forkIds[chainidWithOffset] = vm.createFork(vm.rpcUrl("base_archive")) + 100;
160163
}
161164
}
162165
return forkIds[chainidWithOffset] - 100;

foundry.toml

+2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ out = "out"
1010

1111
[rpc_endpoints]
1212
mode = "${MODE_MAINNET_RPC_URL}"
13+
base = "${BASE_MAINNET__RPC_URL}"
1314

1415
mode_archive = "${MODE_MAINNET_ARCHIVE_RPC_URL}"
16+
base_archive = "${BASE_MAINNET__RPC_URL}"
1517

1618
# See more config options https://github.com/gakonst/foundry/tree/master/config

0 commit comments

Comments
 (0)