lambdaclass / lambdaclass/lambda_ethereum_consensus
Send error message to peer when requests are invalid
Open
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 109
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
We're currently ignoring invalid requests without sending any response. According to the spec, we should respond with a status code 1 and an error message. We should add this behavior (with a generic error message for now).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the request-validation entry point and the handling for invalid requests, then consult the referenced protocol specification for status code 1. Done means invalid requests receive a peer response containing status code 1 and a generic error message instead of being ignored.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100