Skip to content

Test Precompiles

Documentation for tests/frontier/precompiles/test_precompiles.py@814481c0.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/frontier/precompiles/test_precompiles.py --fork Amsterdam

Tests supported precompiled contracts.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_precompile_as_coinbase blockchain_test 18 Verify that an enabled precompile as block coinbase yields a valid
test_precompiles state_test 22 Tests the behavior of precompiled contracts in the Ethereum state test.