squeeth-monorepo
squeeth-monorepo copied to clipboard
fix: fe liquidity txs not showing issues
Task:
Description
- add useLiquidityTxHistory hook, handling lp txs pulling and calculations
Fixes #330 (issue)
Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Document update
How Has This Been Tested
Locally with address having lp txs history
Checklist
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] My changes generate no new warnings
- [ ] Added video recordings if it is a UI change
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
continuouscall | ✅ Ready (Inspect) | Visit Preview | Apr 26, 2022 at 9:36AM (UTC) |
Can you explain more about the fix? High level it looks like you moved the function and added a subscription. Does subscription fix the issue?
@EstherSeyi Was mentioning something about a subscription is not working in some cases, can you sync with her and let me know if that's not the problem here?
yh subscription fixed the issue, but it's a bit hard to debug with subscription cuz we dont know what it does underneath the hood, but pulling may not be good for performance, I am trying to come up with better solutions with either subscription or pulling
Would love to know if any thoughts/suggestions @KMKoushik @adam5909099 @EstherSeyi @block902
It doesn't seem to be working for me. In the screenshot below, I just opened an lp position, but it doesn't show up in the transactions.

It doesn't seem to be working for me. In the screenshot below, I just opened an lp position, but it doesn't show up in the transactions.
![]()
@EstherSeyi Could u try this link? https://continuouscall-q2bo64a51-opynfinance.vercel.app
continuouscall-q2bo64a51-opynfinance.vercel.app
I'm experiencing the same thing here too
Also please focus on 3 start issues before working on this.
Is there a way to add some tests so that it's not happening again?
yh, was working on the tests, will be focusing on 3 star issues first and come back here after those fixes!