Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth2207 committed Jul 8, 2024
1 parent f1c370a commit 35afb33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions strategies/wlth/wlth-grid-trading.rain
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ scenarios:
io-ratio-base: 0.020
io-ratio-growth: 0.002

# Base amount of WLTH tokens to offer and increment.
tranche-size-base: 200
tranche-size-growth: 50
# Base amount of USDC tokens to received and increment.
tranche-size-base: 5
tranche-size-growth: 1

scenarios:
grid:
Expand Down
4 changes: 2 additions & 2 deletions test/wlth/WlthGridTradingTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ contract WlthGridTradingTest is StrategyTests {
outputVaults[0] = baseUsdcIo();

uint256 expectedRatio = 40e18;
uint256 expectedAmountOutputMax = 2.5e18;
uint256 expectedAmountOutputMax = 5e18;

LibStrategyDeployment.StrategyDeployment memory strategy = LibStrategyDeployment.StrategyDeployment(
getEncodedSellWlthRoute(address(ARB_INSTANCE)),
Expand Down Expand Up @@ -118,7 +118,7 @@ contract WlthGridTradingTest is StrategyTests {
outputVaults[0] = baseWlthIo();

uint256 expectedRatio = 0.02e18;
uint256 expectedAmountOutputMax = 200e18;
uint256 expectedAmountOutputMax = 250e18;

LibStrategyDeployment.StrategyDeployment memory strategy = LibStrategyDeployment.StrategyDeployment(
getEncodedBuyWlthRoute(address(ARB_INSTANCE)),
Expand Down

0 comments on commit 35afb33

Please sign in to comment.