-
Notifications
You must be signed in to change notification settings - Fork 602
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
Protorev smarter logic and more testing #4181
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
0a194cc
Add generalized tests
NotJeremyLiu ded054f
Add stableswap doomsday test
NotJeremyLiu 7b5d338
Add tests for pool point limits
NotJeremyLiu 736b1b6
Add pre-check before binary search
NotJeremyLiu 9c579ed
Add denom to make test pass
NotJeremyLiu 438ba47
Implement minimum change to have smarter binary search bounds
NotJeremyLiu 1dcac42
Switch range increasing logic
NotJeremyLiu 9e26a1f
Add logic to extend search bounds when finding optimal amount in
NotJeremyLiu d9a0469
Move range extension into it's own helper function
NotJeremyLiu 34e5320
basic benchmark testing for posthandler and epoch hook
davidterpay d9ab499
Add SwapAmountOut Test
NotJeremyLiu fd4d371
Add extended range test
NotJeremyLiu a49733e
Add panic catching test
NotJeremyLiu 29ef00f
dynamic step size
davidterpay 03f863b
pool points only incremented if profitable
davidterpay fe23f2f
adding sanity checks for pool point calcs, nits
davidterpay 6229875
Update doomsday testing accounting for refund system
NotJeremyLiu 4620f66
Return nil for no profit opportunity
NotJeremyLiu 1007e6b
adding E2E, removing atom as a base denom, more testing for post handler
davidterpay 51c6249
find max profit test fix
davidterpay c9f6938
nit
davidterpay 450fd52
backporting version tag to 14.x
davidterpay 5b7b595
comment update for protorev admin account
davidterpay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
for reviewers: deprecating the use of hot routes in genesis since we will not be using it.
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.
Hrm, I feel like it should be added back (in a subsequent non-release affecting PR), so that ExportGenesis -> ImportGenesis still works. (So state export based testnets for instance can use this)
The ideal is that for
state' = import(export(state))
, thatstate'
is effectively the same asstate
.