Skip to content

chore: stale FIXME in evm-node says the Arc chain spec is not defined yet (it is, and is used throughout) #375

Description

@mehmetkr-31

Summary

crates/evm-node/src/node.rs carries a FIXME saying the Arc chain spec still needs to be defined:

// FIXME use the ethereum chain spec temporary, we need to define Arc chain spec
// original traits for ChainSpec in this file `Hardforks + EthereumHardforks + EthExecutorSpec`

The Arc chain spec already exists, and this file already uses it — confirmed two ways:

  1. ArcChainSpec is defined in crates/execution-config/src/chainspec.rs, and node.rs imports it and binds ChainSpec = ArcChainSpec throughout (type ChainSpec = ArcChainSpec;, and in every NodeTypes<ChainSpec = ArcChainSpec, ...> bound).
  2. It was already true in the first public commit, a1235c0 (2026-04-06): node.rs used ArcChainSpec 10 times there and the struct was already defined. So the FIXME has been stale since the day it landed.

Why this is worth fixing

A FIXME saying "we need to define Arc chain spec" in a file that is built entirely around ArcChainSpec points the next reader at work that was finished before the repo went public. Two-line removal.

Note

The second line records the ChainSpec trait bounds of the upstream reth file node.rs was forked from. It only reads sensibly as a continuation of the FIXME, so I would remove both — but it is a porting hint, and if keeping it as a standalone note is preferred that is an easy change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions