lambdaclass / lambdaclass/lambda_ethereum_consensus

Send error message to peer when requests are invalid

Open
#789 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.