test_modexp()¶
Documentation for tests/benchmark/compute/precompile/test_modexp.py::test_modexp@c74f1a67.
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
491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 | |
Parametrized Test Cases¶
This test generates 112 parametrized test cases across 3 forks.