Hi devs,
I would like to share a issue / bug on the XDC network which is related to the Revert / Require statements and how it behaves based on the RPC being used, wallets being used.
You can understand about this issue by reading the github issue created by another dev.
https://github.com/XinFinOrg/XDPoSChain/issues/173
Also look into this comment of how it behaves on Remix when an error occurs while using XDCPay vs Metamask.
https://github.com/XinFinOrg/XDPoSChain/issues/173#issuecomment-1446690292
You can also check about how All the wallets behave differently for an error in one of my previous xdc.dev post.
https://www.xdc.dev/ncode/error-strings-support-in-xdc-4bec
I think the goal should be to provide consistent error strings and handling revert / requires irrespective of RPC's or wallets being used.
Discussion (3)
Hello @ncode
We hope that the above issue is resolved, if the issue still persists then please let us know about it so that the team can resolve it on priority. It will be grateful to get an update within 72 hours or else it will be considered resolved.
Thank You.
Hello @ncode
Please try with XDCPay 2.0, Hope it will work for you with remix.xinfin.network.
Please refer to the link below.
github.com/XinFinOrg/XDPoSChain/is...
Hello @ncode
Since we haven’t received any response from your side , we are closing the issue as it appears to be resolved. If you still have the issue, please feel free to reopen it.
Thank you!