ethereum / ethereum/execution-specs

Required new tests due to max gas limit reduction

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

Description

Includes a list of tests that have to be enhanced or implemented due to the max transaction gas limit rendering some static tests unable to run:

- [ ] `tests/static/state_tests/Cancun/stEIP1153_transientStorage/21_tstoreCannotBeDosdOOOFiller.yml`: Test `tests/benchmark/test_worst_compute.py::test_worst_tstore` needs to add a small change so the key to the TSTORE operation keeps swapping between values closer to 2**256 and values closer to 0 (need to add `Op.SUB(0, Op.GAS)` to the key on top of simple `Op.GAS`).
- [ ] New test to `tests/benchmark/test_worst_blocks.py` with blocks full of authorizations.
- [x] New benchmark test to max out blake2 usage in multiple transactions (see `tests/istanbul/eip152_blake2/test_blake2.py::test_blake2b_gas_limit`)
- [x] Port `tests/prague/eip2537_bls_12_381_precompiles/test_bls12_pairing.py` to a multi-tx benchmark test.

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.