enkryptcom / enKrypt

Enkrypt: Ethereum, Polkadot and Web3 Wallet
https://www.enkrypt.com/
MIT License
332 stars 166 forks source link

Contract reverts are not shown to user #417

Closed jxom closed 4 months ago

jxom commented 8 months ago

If a contract interaction is expected to revert, no information (ie. revert message) is shown to the user. I would expect the "Send" button to be disabled, with an error message shown to the user.

Can reproduce by performing mint(69) on this contract: https://etherscan.io/address/0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2#writeContract.

CleanShot 2024-03-22 at 17 03 22@2x
kvhnuke commented 4 months ago

https://github.com/enkryptcom/enKrypt/pull/470/commits/53e527b64b037ab7e7cbe09d65ce68d61257c108

fixed