-
Notifications
You must be signed in to change notification settings - Fork 505
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: standardized error responses for payload validation #7939
feat: standardized error responses for payload validation #7939
Conversation
Hi @MarekM25, can I help add context for a review? Would love to see this merged if possible |
@kamilchodola It would be good to run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but Hive tests will have to be updated to handle new error codes
@MarekM25 I can do that, can you provide a quick pointer to where i should look? |
I think you will have to search for either our old errors or geth errors in this repo and provide a PR: https://github.com/ethereum/hive here I can contact you with maintainers if needed. Thx for your contribution! 🙏 |
@MarekM25 hi, I've been able to run the
from this run, it seems like this specific branch is not causing any new errors, but as I previously mentioned I'm not familiar enough with Hive to be 100% sure that I didn't miss something. I have also tried to look for the hardcoded error messages in the hive codebase but haven't found them: the behaviour there seems to be to only check the "Status: Invalid" property, and not the actual validation error message edit: I also ran the |
@merklefruit thank you for your contribution |
Co-authored-by: Alexey Osipov <[email protected]> Co-authored-by: Ben Adams <[email protected]>
Fixes #7901
Changes
Types of changes
What types of changes does your code introduce?
Testing
Requires testing
Documentation
Requires documentation update
Remarks
More context on this change can be found in #7901