You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The promise resolves to an error string: in order to get the receipt, we should use the PromiEvent event listeners (either error or promise). However, as is discussed in web3/web3.js#2612 and web3/web3.js#1859, on v1.2 of web3js a) receipt is not fired on failed transactions, and b) the receipt is not included on the error event.
This has been fixed on the 2.x branch, and will be backported to the 1.x soon (as part of the web3/web3.js#3070 initiative).
Reverted transactions still have a transaction receipt with has, used gas, etc.: we should return this object to the caller.
The text was updated successfully, but these errors were encountered: