Skip to content

Commit

Permalink
fix tests, routes, update revert message
Browse files Browse the repository at this point in the history
  • Loading branch information
a17 committed Jan 7, 2025
1 parent c14481f commit a410d06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions chains/SonicLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ library SonicLib {
_makePoolData(POOL_BEETS_USDC_scUSD, AmmAdapterIdLib.BALANCER_COMPOSABLE_STABLE, TOKEN_scUSD, TOKEN_USDC);
pools[i++] = _makePoolData(POOL_EQUALIZER_wS_EQUAL, AmmAdapterIdLib.SOLIDLY, TOKEN_EQUAL, TOKEN_wS);
pools[i++] = _makePoolData(POOL_EQUALIZER_USDC_WETH, AmmAdapterIdLib.SOLIDLY, TOKEN_wETH, TOKEN_USDC);
pools[i++] = _makePoolData(POOL_EQUALIZER_wS_GOGLZ, AmmAdapterIdLib.SOLIDLY, TOKEN_GOGLZ, TOKEN_wS);
pools[i++] = _makePoolData(POOL_SWAPX_CL_wS_SWPx, AmmAdapterIdLib.ALGEBRA_V4, TOKEN_SWPx, TOKEN_wS);
pools[i++] = _makePoolData(POOL_SWAPX_CL_wS_SACRA, AmmAdapterIdLib.ALGEBRA_V4, TOKEN_SACRA, TOKEN_wS);
//endregion ----- Pools ----
Expand Down
2 changes: 1 addition & 1 deletion script/libs/DeployAdapterLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ library DeployAdapterLib {
proxy.initProxy(address(new AlgebraV4Adapter()));
}

require(proxy.implementation() != address(0), "Unknown AmmAdapter");
require(proxy.implementation() != address(0), string.concat("Unknown AmmAdapter:", id));
IAmmAdapter(address(proxy)).init(platform);
IPlatform(platform).addAmmAdapter(id, address(proxy));

Expand Down
2 changes: 1 addition & 1 deletion test/strategies/BSF.Sonic.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "../../src/integrations/balancer/IBalancerGauge.sol";

contract BeetsStableFarmStrategyTest is SonicSetup, UniversalTest {
constructor() {
vm.rollFork(2026000); // Dec-30-2024 08:07:33 PM +UTC
vm.rollFork(2912000); // Jan-07-2025 09:42:51 PM +UTC
}

function testBSF() public universalTest {
Expand Down

0 comments on commit a410d06

Please sign in to comment.