web3-nomad / accelerator-defi-EIP-ui

accelerator-defi-EIP UI
https://eip.zilbo.com
Apache License 2.0
0 stars 1 forks source link

Show error msg for failed TXs #59

Open dchernokur opened 1 month ago

dchernokur commented 1 month ago

For now when TX gets reverted, it's still considered as a "success" request for the react-query lib and we show green success tx notification. Let's look into the ways to detect if the TX was actually reverted or not. Maybe parse the response object and see some status there if already available?

dchernokur commented 1 month ago
image