Skip to content

Conversation

@JonathanOppenheimer
Copy link
Member

@JonathanOppenheimer JonathanOppenheimer commented Dec 15, 2025

Why this should be merged

Removes unused test utilities inherited from geth that were never called in either coreth or subnet-evm. Cleaning it up also better aligns the tests/ directories between coreth and subnet-evm, which should make future consolidation easier.

How this works

Deletes unused files from graft/coreth/tests/ and graft/subnet-evm/tests/:

  • init.go - only notable change is removed GetRepoRootPath helper -- test files now use runtime.Caller(0) to locate paths relative to source (is this approach acceptable? -- see comment below)
  • rlp_test_util.go - Legacy geth RLP test utilities, never used
  • gen_stenv.go, gen_sttransaction.go - Generated code for geth's state test format, never used

How this was tested

CI

Need to be documented in RELEASES.md?

No

@JonathanOppenheimer JonathanOppenheimer self-assigned this Dec 15, 2025
@JonathanOppenheimer JonathanOppenheimer added cleanup Code quality improvement evm Related to EVM functionality labels Dec 15, 2025
@JonathanOppenheimer JonathanOppenheimer marked this pull request as ready for review December 15, 2025 23:47
@JonathanOppenheimer JonathanOppenheimer requested a review from a team as a code owner December 15, 2025 23:47
@github-project-automation github-project-automation bot moved this to In Progress 🏗️ in avalanchego Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Code quality improvement evm Related to EVM functionality

Projects

Status: In Progress 🏗️

Development

Successfully merging this pull request may close these issues.

3 participants