Skip to content

cmd/evm, core: fixes for eels tests@v20.0.0 release#35283

Open
spencer-tb wants to merge 3 commits into
ethereum:masterfrom
spencer-tb:eels-fork-aliases
Open

cmd/evm, core: fixes for eels tests@v20.0.0 release#35283
spencer-tb wants to merge 3 commits into
ethereum:masterfrom
spencer-tb:eels-fork-aliases

Conversation

@spencer-tb

@spencer-tb spencer-tb commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Sanity fixes surfaced by running the EELS tests@v20.0.0 fixture release (63,109 blockchain tests) through evm blocktest.

Also bumps CI to consume the new release: build/checksums.txt now points at tests@v20.0.0 / fixtures.tar.gz from ethereum/execution-specs (supersedes the archived EEST repo's fixtures_develop).

@spencer-tb spencer-tb requested a review from rjl493456442 as a code owner July 2, 2026 15:51
Comment thread core/state_processor.go Outdated
if evm.StateDB.GetCodeSize(addr) == 0 {
return nil, nil, fmt.Errorf("requests contract %v has no code", addr)
}
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes the following test fails for CancunToPragueAtTime15k:

  • tests/prague/eip7002_el_triggerable_withdrawals/test_contract_deployment.py::test_system_contract_deployment[...-deploy_after_fork-zero_balance] and [...-deploy_after_fork-nonzero_balance]
  • tests/prague/eip7251_consolidations/test_contract_deployment.py::test_system_contract_deployment[...-deploy_after_fork-zero_balance] and [...-deploy_after_fork-nonzero_balance]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds two state reads into the hot path. I would rather not add this and skip the tests instead.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed it and added to skip list.

Comment thread tests/init.go
// the EIP150 and EIP158 rulesets.
Forks["TangerineWhistle"] = Forks["EIP150"]
Forks["SpuriousDragon"] = Forks["EIP158"]
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Purposely using an alias here but can obvs be something else.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants