GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — fix(async): port price-floor and odd-tick TVL fixes to async clients by TimeToBuildBob · Pull Request #493 · uniswap-python/uniswap-python Conversation
Contributor
Follow-up to #482. #482 fixed two arithmetic bugs in the sync clients only. The async clients added in #491 contain the same three expressions:
This PR applies the identical fix from #482 to each one. Testing
Credit for the original reports is the same as #482: YANGXIAO-LI (#269), and Xamit Kadirbekov and Daniyal Kadirbekov (GERO).
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
uniswap-python#482 fixed premature integer flooring in get_raw_price (v3) and get_token_token_spot_price (v4), and the tick // 2 boundary in get_tvl_in_pool, but only in the sync clients. AsyncUniswap and AsyncUniswap4 (added in uniswap-python#491) duplicate the same three expressions. Port the identical fix and mirror the offline regression tests for the async methods. Before the fix: 21 of 28 new cases fail; after: all pass. Git-Session-Id: 1f5c341c-f980-49ad-8729-4af3af4f176d
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## master #493 +/- ## ========================================== + Coverage 70.68% 70.75% +0.06% ========================================== Files 14 14 Lines 4302 4302 ========================================== + Hits 3041 3044 +3 + Misses 1261 1258 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Git-Session-Id: 1f5c341c-f980-49ad-8729-4af3af4f176d
There was an error while loading. Please reload this page.
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryBrings the async clients in line with the sync arithmetic fixes.
No actionable issues found. Tests were inspected but not run. Reviews (1) · Last reviewed commit: "fix(async): port price-floor and odd-tic..." · Reviewed by Greptile |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
All five CI checks are green, and there are no outstanding review findings or human questions. I have pull-only access here, so merging requires a maintainer. No further code changes made. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@TimeToBuildBob v3 tests don't pass, neither sync nor async, after the merge. Any suggestions? Note that the sync class hasn't been affected. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Looking at the failing CI run, the two failing tests are "STF" is the Safe Transfer From revert string from Uniswap's This is not caused by #493. The sync Suggested checks:
The failing test is in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.