0

Say if an error is caused due to a revert statement will it be emitted as an event so front end application will be aware or not?

1 Answer 1

0

If a transaction reverts the cause isn't recorded as a log entry. Only the status is recorded as a failure.

The revert value is available but it isn't recorded in the block.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.