-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(cast): parse custom errors from cast send
with local artifacts
#9789
Comments
hey @holic there's now the |
Great to know! Any reason this can't be done automatically? |
for Lines 369 to 371 in dbf1c2a
but not sure there's anything standard we could use to parse and decode, @mattsse could you pls chime in? thanks! |
I dug through Viem's error handling code and looks like they look for error code They also link out to all the eth node sources of errors: https://github.com/wevm/viem/blob/c2f85790e9f7e55214bf46bc302bf55ba1a43a6b/src/errors/node.ts#L5-L13 |
awesome info, should do it |
cast send
with local artifactscast send
with local artifacts
cast send
with local artifactscast send
with local artifacts
Component
Cast
Describe the feature you would like
I noticed
cast call
andcast run
can now be run with local artifacts (#7359)Is it possible to do the same thing for
cast send
? Right now I get a response likeIt'd be great if the custom error could be parsed via my local artifacts (which does have this selector).
Additional context
No response
The text was updated successfully, but these errors were encountered: