Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix decode revert reason on relayCall.view (#636)
different nodes report differently the revert reason (its hard to report it, since its a function that returns a struct, but revert reason is encoded differently.) this fix adds support to kotti's way of reporting the revert reason (support both "revert" and "reverted" in both err.data.message and res.error.message, and defensively protect again non-string data .. Co-authored-by: Alex Forshtat <forshtat1@gmail.com>
- Loading branch information