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 — Add function to get amount of asset locked per tick in pool by TheBlueMastiff · Pull Request #283 · uniswap-python/uniswap-python Conversation
|
|
Wow, well done! I've allowed the test to run now. If you want to run them yourself without having to wait for me to approve the run, you can push to the master branch of your own fork, which should trigger a run (althought might be missing credentials). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codecov ReportBase: 84.17% // Head: 57.67% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@ ## master #283 +/- ## =========================================== - Coverage 84.17% 57.67% -26.51% =========================================== Files 10 10 Lines 1030 1082 +52 =========================================== - Hits 867 624 -243 - Misses 163 458 +295
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Looks like we have a failure: Was also picked up by the typechecking: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
looks like the error is here: @pytest.mark.parametrize("token0, token1", [("DAI", "USDC")]) def test_asset_locked_per_tick_sums_to_tvl(self, client: Uniswap, token0, token1): ..... whereas in order to use the @pytest.mark.parametrize("token0, token1", [("DAI", "USDC")]) def test_asset_locked_per_tick_sums_to_tvl(self, client: Uniswap, tokens, token0, token1): ..... |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Whoops. Sorry about that. Updated now. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
this is how I had the test passing originally for what I was working on, where approximately correct was fine. Finding the discrepancy for exact values requires more digging and debugging. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I think approximately correct is fine for now, working with the tickbitmap, etc. can get a little complex. Apparently the subgraph bug has been fixed somewhat recently: I'll definitely take a look this weekend and see if there are any improvements to glean and update the tvl in pool code respectively. Good work though! 👍 |
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.