Skip to content

Test Modexp

Documentation for tests/byzantium/eip198_modexp_precompile/test_modexp.py@02aafd78.

Generate fixtures for these test cases for Bogota with:

fill -v tests/byzantium/eip198_modexp_precompile/test_modexp.py --fork Bogota

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 (Bogota) Description
test_modexp state_test 47 Test the MODEXP precompile.