-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ProtoRev): Updating Binary Search Range with CL Pools #5930
Changes from 9 commits
063602c
e2b628e
c9b13cd
a706848
efa68d2
d25d53e
bde5c73
2f314fa
1ede81d
b0c92f3
1c78485
64a6891
b8e3f1f
da72dd0
7ef7106
aadbcc7
9f1e6e4
b890a43
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -340,12 +340,12 @@ func (s *KeeperTestSuite) TestAnteHandle() { | |
params: param{ | ||
trades: []types.Trade{ | ||
{ | ||
Pool: 51, | ||
Pool: 54, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Synced in person: So after the tick change, this test no longer tests what we want it to since this does not run out of gas. So in the follow up PR that allows maxTicks to be configurable, we'll make the maxTicks really large for this test so that the rebalance logic runs out of gas again |
||
TokenOut: "ibc/0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7", | ||
TokenIn: "uosmo", | ||
}, | ||
}, | ||
expectedNumOfTrades: sdk.NewInt(5), | ||
expectedNumOfTrades: sdk.NewInt(6), | ||
expectedProfits: []sdk.Coin{ | ||
{ | ||
Denom: "Atom", | ||
|
@@ -357,7 +357,7 @@ func (s *KeeperTestSuite) TestAnteHandle() { | |
}, | ||
{ | ||
Denom: types.OsmosisDenomination, | ||
Amount: sdk.NewInt(56_609_900), | ||
Amount: sdk.NewInt(56_653_504), | ||
}, | ||
}, | ||
expectedPoolPoints: 37, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.