Closed L03TJ3 closed 4 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
goodwallet | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 20, 2024 11:55am |
@johnsmith-gooddollar @sirpy I added some fixes. The one I don't know how to handle is how to throttle these two calls properly: https://github.com/GoodDollar/GoodDAPP/blob/530198a94020ab302b1e678f11326c0f53bdc922/src/lib/wallet/GoodWalletClass.js#L480
In theory it should run every 30 seconds. but I believe the sync retriggers when scrolling and it loads the not yet loaded feed-items
@L03TJ3 scrolling feed shouldnt have any effect, since syncTx from blockchain/explorer are called periodically unrelated to the feed, except maybe because of the getcontract/counterparty/smallavatar bug
@sirpy right, after the last couple of fixes it does not look like it triggers additional calls to sync when scrolling the feed
@johnsmith-gooddollar @sirpy Latest changes are:
Description
Several errors and failed api calls were reported. also it seemed the API was called extensively which should be roughly every 30 seconds, not accounting for when someone scrolls over the feed. that triggers the sync again.
One bug was found (cause of it not found yet) where a BRIDGE_IN transaction is wrongly created on the feed with regular txtype receive. this results in it thinking its a regular contract transaction and tries to fetch the contract name for it as a result
Additional fixes
About # (link your issue here)
4221