Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cli command to debug revert error data #2788

Open
holic opened this issue May 2, 2024 · 0 comments
Open

add cli command to debug revert error data #2788

holic opened this issue May 2, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@holic
Copy link
Member

holic commented May 2, 2024

to decode reverts, you need MUD ABIs + user's ABIs

we do this for users in our tooling that uses viem, but viem/JS may not be within reach to everyone

would be nice to have a command that can take in error data hex as input and get back out a human-readable error (assuming we're able to decode with our own ABI or with ABIs found in the MUD project in the cwd)

@holic holic added the good first issue Good for newcomers label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: No status
Development

No branches or pull requests

1 participant