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
Hi all,
I am new to the ethereum contract, and want to learn how to debug a contract.
I have sent a transaction to my contract, and it failed. From the https://etherscan.io/tx/0x20a79ec615ca8c4668016624e83b82ffc1a54f61b90f05e0e531fda29fc0b4d1, it just failed and without any error information. So is there any way to know why it failed?
How can I debug it?
Any help will be appreciated.
The text was updated successfully, but these errors were encountered:
@veox Thanks, Veox, in fact I have the source, and there are several "require" statements in the contract call, so I can guess one of the require failed and the call is reverted. But is there anyway to debug which line or statement of the contract failed, just like we debug in Javascript or other language?
Hi all,
I am new to the ethereum contract, and want to learn how to debug a contract.
I have sent a transaction to my contract, and it failed. From the https://etherscan.io/tx/0x20a79ec615ca8c4668016624e83b82ffc1a54f61b90f05e0e531fda29fc0b4d1, it just failed and without any error information. So is there any way to know why it failed?
How can I debug it?
Any help will be appreciated.
The text was updated successfully, but these errors were encountered: