lambdaclass / lambdaclass/lambda_ethereum_consensus

[Refactor] Rename `types.ex` to `base.ex`

Open
#632 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue refactor
Dominant language
Elixir
Stars
109
Forks
41
PR merge metrics
No merged PRs in 30d

Description

We have a file for base types. We should:

  1. Rename the file from types.ex to base.ex
  2. Rename the module from Types to LambdaEthereumConsensus.Types.Base.
  3. Use aliases in files where it's used.

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 types.ex and searching the repository for references to the Types module. Rename the file and module as specified, then update those references to use aliases for LambdaEthereumConsensus.Types.Base. Done means the project compiles and all existing tests pass with no remaining references to the old module path.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
backend, distributed-systems
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.