Skip to content

Test Worst Compute

Documentation for tests/zkevm/test_worst_compute.py@244852ff.

Generate fixtures for these test cases for Prague with:

fill -v tests/zkevm/test_worst_compute.py --fork Prague
Tests zkEVMs worst-case compute scenarios.

Tests zkEVMs worst-case compute scenarios.

Tests running worst-case compute opcodes and precompile scenarios for zkEVMs.

Test Functions Overview

Name Type Cases (Prague) Description
test_worst_keccak blockchain_test 1 Test running a block with as many KECCAK256 permutations as possible.
test_worst_modexp blockchain_test 1 Test running a block with as many MODEXP calls as possible.