test_modexp()¶
Documentation for tests/benchmark/compute/precompile/test_modexp.py::test_modexp@tests-bal@v5.7.0.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/benchmark/compute/precompile/test_modexp.py::test_modexp --gas-benchmark-values 1
Test running a block with as many calls to the MODEXP (5) precompile as possible. All the calls have the same parametrized input.
Source code in tests/benchmark/compute/precompile/test_modexp.py
405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 | |
Parametrized Test Cases¶
This test generates 85 parametrized test cases across 3 forks.