ethereum / ethereum/execution-specs

Failing assert in test_precompile_absence.py::test_precompile_absence during test setup.

Open
#1,553 5 comments 0 reactions 0 assignees View on GitHub
A-test-execute A-test-tests C-bug stale
Dominant language
Python
Stars
1.2k
Forks
505
Avg merge
2d 14h
Merged PRs (30d)
116

Description

I'm running eest against my local reth node with the following command:
`uv run execute remote -m state_test --fork=Shanghai --rpc-endpoint=http://localhost:12603 --rpc-seed-key *** --rpc-chain-id *** --tx-wait-timeout 60 -v tests/frontier/precompiles/test_precompile_absence.py::test_precompile_absence`

The test fails on the internal logic of initcode for smartcontract:
```
tests/frontier/precompiles/test_precompile_absence.py:57: in test_precompile_absence
entry_point_address = pre.deploy_contract(call_code, storage=storage.canary())
src/pytest_plugins/execute/pre_alloc.py:183: in deploy_contract
initcode = Initcode(deploy_code=code, initcode_prefix=initcode_prefix)
src/ethereum_test_tools/code/generators.py:80: in __new__
assert no_prefix_length + len(initcode_prefix) <= 0xFF, "initcode prefix too long"
E AssertionError: initcode prefix too long
E assert (11 + 3472) <= 255
E + where 3472 = len()
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.