Skip to content

Test Modexp

Documentation for tests/byzantium/eip198_modexp_precompile/test_modexp.py@0ed27a0e.

Generate fixtures for these test cases for Prague with:

fill -v tests/byzantium/eip198_modexp_precompile/test_modexp.py --fork Prague
Test EIP-198: MODEXP Precompile

Tests the MODEXP precompile, located at address 0x0000..0005. Test cases from the EIP are labelled with EIP-198-caseX in the test id.

Test Functions Overview

Name Type Cases (Prague) Description
test_modexp state_test 16 Test the MODEXP precompile