Skip to content

Commit

Permalink
update JB bits
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth2207 committed Jun 28, 2024
1 parent 4df6dc1 commit 32347c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion strategies/dca-oracle-polygon-univ3.rain
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ scenarios:
twap-multiplier-fee: '[uniswap-v3-fee-low]'

#Jittery binomial bits for randomness, more the number of bits, higher is the randomness.
jittery-binomial-bits: 20
jittery-binomial-bits: 10

scenarios:
buy:
Expand Down
8 changes: 4 additions & 4 deletions test/PolygonFixedGridDecimal.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ contract PolygonFixedGridDecimal is StrategyTests {
IO[] memory outputVaults = new IO[](1);
outputVaults[0] = polygonUsdcIo();

uint256 expectedRatio = 69352715075810792;
uint256 expectedAmountOutputMax = 17098814843865977310;
uint256 expectedRatio = 69323311538160288;
uint256 expectedAmountOutputMax = 16279555611016865760;

LibStrategyDeployment.StrategyDeployment memory strategy = LibStrategyDeployment.StrategyDeployment(
getEncodedSellLinkRoute(address(ARB_INSTANCE)),
Expand Down Expand Up @@ -131,8 +131,8 @@ contract PolygonFixedGridDecimal is StrategyTests {
IO[] memory outputVaults = new IO[](1);
outputVaults[0] = polygonLinkIo();

uint256 expectedRatio = 13949412411209658325;
uint256 expectedAmountOutputMax = 1139920989591065154;
uint256 expectedRatio = 13936173715114621738;
uint256 expectedAmountOutputMax = 1085303707401124384;

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

0 comments on commit 32347c6

Please sign in to comment.