1

I am trying to decode a bytes value, and while writing tests, I was trying to pass invalid values to force an error. Although I get the error missing revert data in call exception, I cannot find a way to revert with a custom error/string.

1 Answer 1

2

While writing the question, I was able to find a solution. ATTOW this is already a feature request. See issue-10381 and issue-10933 on github. Thankfully one of the core members mentioned in this comment that this feature is on the roadmap.

If you're reading this in the future, please leave an updated answer.

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.