Skip to content

Test Modexp

Documentation for tests/benchmark/compute/precompile/test_modexp.py@8db70f93.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/benchmark/compute/precompile/test_modexp.py --gas-benchmark-values 1

Benchmark MODEXP precompile.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_modexp benchmark_test 85 Test running a block with as many calls to the MODEXP (5) precompile as
test_modexp_uncachable benchmark_test 3 Benchmark MODEXP with unique input per call.