Closed vldkh closed 2 years ago
@vldkh these kind of issues can happen once in a while. Do we have something systemic? ie same user experiencing it many times, or multiple users constantly experiencing it
@sirpy This issue happens almost every day at 12 pm. And happens to ~300 users. Types of Errors:
But at least every second and third attempt is successful
it is expected that some blockchain calls will fail. the first spike looks unusually high.
Clear pattern there. Please fix.
@johnsmith-gooddollar @patpedrosa the reasons for failure are mostly of 2 types
To solve we can do the following
@sirpy could we join buying tokens for g$ and claim in a single operation ? And display claim amount - 2g$ in the tx? Additionaly we could show "2G$ fee" and info sign "why this happened ?" linking to some faq ?
P.S also we could check for out of gas futons entitlement calculation and adjust claim value displaying on claim page. And also display the same 2G$ fee + additional info
@johnsmith-gooddollar things to do:
@patpedrosa do you want to do anything regarding the out of gas issue?
@johnsmith-gooddollar This happened to me and I got the "not a citizen" error, all of these issues seem to be due to the web3 framework losing connection to the RPC endpoint. so I dont think we need fix 3, and 2 should change to: on claim perform some read call to the blockchain (like getBlockNumber()) to refresh the connection then perform the claim operation and retry once on ANY error
@johnsmith-gooddollar d3262380b200422671efb942188ee4f651e99a50
@sirpy Now it happens to ~145 users each day. I guess it is normal behavior. Any thoughts?
@Hadar Looks like it happens because of this error message:
Also, as you can see the next attempt is successful.
Dashboard - https://analytics.amplitude.com/gooddollar/chart/l9kegg6/edit/d06uajb?source=workspace User Look-Up - https://analytics.amplitude.com/gooddollar/project/288710/search/amplitude_id%3D190825262743