ethereum-optimism / ethereum-optimism/optimism

Enumerate forks programmatically

Closed
#21,702 0 comments 0 reactions 0 assignees View on GitHub
M-needs-triage
Dominant language
Go
Stars
6.5k
Forks
4k
Avg merge
2d 38m
Merged PRs (30d)
164

Description

Right now, forks and their schedules are typically struct fiends. This results in a schema change every time a fork is added, which requires tedious, error-prone updates across the codebase.

We should only have to update a line or two in a single file to add a fork and its metadata (or perhaps only the superchain registry, in an ideal world).

Contributor guide

Open the contributing guide

Research direction

Start by tracing where fork schedules and their metadata are represented as struct fields across the codebase. Identify the central registry or single file that could own this information, then verify the affected consumers. Done means adding a fork requires only a line or two in one place without schema changes or repetitive updates elsewhere.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
blockchain
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.