lambdaclass / lambdaclass/lambda_ethereum_consensus

`get_weight` and `recompute_head` refactor

Open
#1,382 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P2 perf
Dominant language
Elixir
Stars
109
Forks
41
PR merge metrics
No merged PRs in 30d

Description

This is a known issue as stated here: https://www.youtube.com/live/8_wCUL9T-xQ?si=OIVdEIGV8xTLstyl&t=1867

It doesn't appear to affect performance after #1380, but it may be something to take into consideration in the future

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 get_weight and recompute_head implementations and review the discussion linked in the issue, including the context of #1380. Determine the intended refactor and whether it still matters after #1380; completion should include an agreed scope and verification that consensus behavior and performance remain correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
distributed-systems
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.