Skip to content

Required new tests due to max gas limit reduction #1571

@marioevz

Description

@marioevz

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.
  • New benchmark test to max out blake2 usage in multiple transactions (see tests/istanbul/eip152_blake2/test_blake2.py::test_blake2b_gas_limit)
  • Port tests/prague/eip2537_bls_12_381_precompiles/test_bls12_pairing.py to a multi-tx benchmark test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-test-benchmarkArea: Tests Benchmarks—Performance measurement (eg. `tests/benchmark/*`, `p/t/s/e/benchmark/*`)C-enhanceCategory: an improvement or new feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions