-
Notifications
You must be signed in to change notification settings - Fork 589
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: Use hooks instead of message parsing to trigger backruns #5045
Commits on Apr 18, 2023
-
- Follows gamm module patterns such as 1) naming convention and 2) providing tokens (sdk.Coins) even though it's currently expected to be a single token in or out (sdk.Coin).
Configuration menu - View commit details
-
Copy full SHA for 02ddd55 - Browse repository at this point
Copy the full SHA 02ddd55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75ea9cc - Browse repository at this point
Copy the full SHA 75ea9ccView commit details
Commits on Apr 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d556709 - Browse repository at this point
Copy the full SHA d556709View commit details -
Create new kvstore and methods for swpsToBackrun
- With new hook based logic, need to persist the swaps to the posthandler. Doing so via storing in kvstored
Configuration menu - View commit details
-
Copy full SHA for 772af1b - Browse repository at this point
Copy the full SHA 772af1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 089d091 - Browse repository at this point
Copy the full SHA 089d091View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a6ed93 - Browse repository at this point
Copy the full SHA 1a6ed93View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcc5549 - Browse repository at this point
Copy the full SHA dcc5549View commit details -
Configuration menu - View commit details
-
Copy full SHA for 616f5dc - Browse repository at this point
Copy the full SHA 616f5dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef2d317 - Browse repository at this point
Copy the full SHA ef2d317View commit details
Commits on Apr 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9e71597 - Browse repository at this point
Copy the full SHA 9e71597View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99d8e9b - Browse repository at this point
Copy the full SHA 99d8e9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3212d18 - Browse repository at this point
Copy the full SHA 3212d18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a73b34 - Browse repository at this point
Copy the full SHA 9a73b34View commit details
Commits on May 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d89db40 - Browse repository at this point
Copy the full SHA d89db40View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1b18ab - Browse repository at this point
Copy the full SHA a1b18abView commit details
Commits on May 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 80a3db1 - Browse repository at this point
Copy the full SHA 80a3db1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26c46a1 - Browse repository at this point
Copy the full SHA 26c46a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43b62ef - Browse repository at this point
Copy the full SHA 43b62efView commit details -
- Also creates a position in the cl pool defined in setupPools
Configuration menu - View commit details
-
Copy full SHA for 6c8ab71 - Browse repository at this point
Copy the full SHA 6c8ab71View commit details
Commits on May 19, 2023
-
- Limit len(coins) = 1 due to an exit pool message giving all denoms as exitdenoms (and potentially future behavior of other modules)
Configuration menu - View commit details
-
Copy full SHA for fa03d8e - Browse repository at this point
Copy the full SHA fa03d8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc5f288 - Browse repository at this point
Copy the full SHA cc5f288View commit details
Commits on May 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8938ba5 - Browse repository at this point
Copy the full SHA 8938ba5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 164615f - Browse repository at this point
Copy the full SHA 164615fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d291e69 - Browse repository at this point
Copy the full SHA d291e69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 087cc7c - Browse repository at this point
Copy the full SHA 087cc7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e259bf - Browse repository at this point
Copy the full SHA 3e259bfView commit details -
Update expected liquidity value for CL pool
- CL pool now is created with pre-defined default values, so I remove sending coins to the pool in keeper_test.go - Updates the expected value in epoch_hook_test to match the output of the default PrepareConcentratedPoolWithCoinsAndFullRangePosition coins output
Configuration menu - View commit details
-
Copy full SHA for 9d28bff - Browse repository at this point
Copy the full SHA 9d28bffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23c1396 - Browse repository at this point
Copy the full SHA 23c1396View commit details -
Configuration menu - View commit details
-
Copy full SHA for 840416e - Browse repository at this point
Copy the full SHA 840416eView commit details -
Remove unused messages in TestAnteHandle
Since we now have hook-based logic, can remove msgs from inputs into TestAnteHandle()
Configuration menu - View commit details
-
Copy full SHA for 6c1944f - Browse repository at this point
Copy the full SHA 6c1944fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 225f1b9 - Browse repository at this point
Copy the full SHA 225f1b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb4c85b - Browse repository at this point
Copy the full SHA cb4c85bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12b5c7d - Browse repository at this point
Copy the full SHA 12b5c7dView commit details
Commits on May 23, 2023
-
Move all mul logic into same fn in hook logic afterpoolCreated, add p…
…anic catching to function
Configuration menu - View commit details
-
Copy full SHA for 65356d9 - Browse repository at this point
Copy the full SHA 65356d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 523c711 - Browse repository at this point
Copy the full SHA 523c711View commit details -
Configuration menu - View commit details
-
Copy full SHA for 031a52b - Browse repository at this point
Copy the full SHA 031a52bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2729f4 - Browse repository at this point
Copy the full SHA e2729f4View commit details
Commits on May 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 65f5684 - Browse repository at this point
Copy the full SHA 65f5684View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92933f1 - Browse repository at this point
Copy the full SHA 92933f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f88995c - Browse repository at this point
Copy the full SHA f88995cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1f8068 - Browse repository at this point
Copy the full SHA b1f8068View commit details
Commits on May 30, 2023
-
Co-authored-by: Sishir Giri <sis1001@berkeley.edu>
Configuration menu - View commit details
-
Copy full SHA for 4c97712 - Browse repository at this point
Copy the full SHA 4c97712View commit details -
Co-authored-by: Sishir Giri <sis1001@berkeley.edu>
Configuration menu - View commit details
-
Copy full SHA for 6c744ac - Browse repository at this point
Copy the full SHA 6c744acView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe5f855 - Browse repository at this point
Copy the full SHA fe5f855View commit details -
Revert "use NewCoins instead of Coins"
This reverts commit 6c744ac.
Configuration menu - View commit details
-
Copy full SHA for 6faeab3 - Browse repository at this point
Copy the full SHA 6faeab3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d7d411 - Browse repository at this point
Copy the full SHA 6d7d411View commit details
Commits on Jun 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 66c1e8c - Browse repository at this point
Copy the full SHA 66c1e8cView commit details -
Restructure protorev hook updating to only process pools with coins
- Previously, protorev was triggered by AfterConcentratedPoolCreated, but this had an issue where the pool is created without any liquidity, returning empty coins object when getting total liquidity - Instead, this commit makes AfterConcentratedPoolCreated a no-op and moves the core logic into AfterInitialPoolPositionCreated, so that we know we have coins - This allows us to not handle this case in any custom manner and can expect there to be coins - Added more test cases to ensure this works as expected
Configuration menu - View commit details
-
Copy full SHA for 5363319 - Browse repository at this point
Copy the full SHA 5363319View commit details -
Use denoms first, then coins in pool updating
- Does all logic it can just using denoms first, and only gets coins object if necessary
Configuration menu - View commit details
-
Copy full SHA for e3a9998 - Browse repository at this point
Copy the full SHA e3a9998View commit details -
Configuration menu - View commit details
-
Copy full SHA for 319f0fc - Browse repository at this point
Copy the full SHA 319f0fcView commit details
Commits on Jun 2, 2023
-
use poolmanager to get liquidity to avoid issues with CL
- Previously used gamm to get liquidity which would have error'd, so uses poolmanager instead - Separate specific logic into own function for re-use and testing
Configuration menu - View commit details
-
Copy full SHA for 91f16f0 - Browse repository at this point
Copy the full SHA 91f16f0View commit details
Commits on Jun 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c24c3b9 - Browse repository at this point
Copy the full SHA c24c3b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 169006a - Browse repository at this point
Copy the full SHA 169006aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93e1edd - Browse repository at this point
Copy the full SHA 93e1eddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 817fb28 - Browse repository at this point
Copy the full SHA 817fb28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bda10f - Browse repository at this point
Copy the full SHA 5bda10fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a69efa - Browse repository at this point
Copy the full SHA 7a69efaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2873238 - Browse repository at this point
Copy the full SHA 2873238View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5393e78 - Browse repository at this point
Copy the full SHA 5393e78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aa26ea - Browse repository at this point
Copy the full SHA 3aa26eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fc81f8 - Browse repository at this point
Copy the full SHA 7fc81f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for da7c839 - Browse repository at this point
Copy the full SHA da7c839View commit details -
Configuration menu - View commit details
-
Copy full SHA for 924a749 - Browse repository at this point
Copy the full SHA 924a749View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fcdb55 - Browse repository at this point
Copy the full SHA 7fcdb55View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0d2a3b - Browse repository at this point
Copy the full SHA a0d2a3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5d17c6 - Browse repository at this point
Copy the full SHA e5d17c6View commit details
Commits on Jun 6, 2023
-
Move panic catching into GetComparablePoolLiquidity
- Panic catching was previously in CompareAndStorePool because that function did the multiplication. - Since then, the multiplication logic that this panic catches overflows on has been separated into it's own function GetComparablePoolLiquidity - This commit moves the panic catching logic to GetComparablePoolLiquidity
Configuration menu - View commit details
-
Copy full SHA for 22d528e - Browse repository at this point
Copy the full SHA 22d528eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed66bce - Browse repository at this point
Copy the full SHA ed66bceView commit details -
Revert "Add int overflow panic catching test"
This reverts commit ed66bce.
Configuration menu - View commit details
-
Copy full SHA for 61e7076 - Browse repository at this point
Copy the full SHA 61e7076View commit details -
Configuration menu - View commit details
-
Copy full SHA for 995b115 - Browse repository at this point
Copy the full SHA 995b115View commit details -
Configuration menu - View commit details
-
Copy full SHA for 026fe77 - Browse repository at this point
Copy the full SHA 026fe77View commit details -
Configuration menu - View commit details
-
Copy full SHA for c18ec19 - Browse repository at this point
Copy the full SHA c18ec19View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2db6d7 - Browse repository at this point
Copy the full SHA c2db6d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 460da4a - Browse repository at this point
Copy the full SHA 460da4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61d3474 - Browse repository at this point
Copy the full SHA 61d3474View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8966b6a - Browse repository at this point
Copy the full SHA 8966b6aView commit details