Skip to content

Test Identity

Documentation for tests/homestead/identity_precompile/test_identity.py@8d3a51e1.

Generate fixtures for these test cases for Osaka with:

fill -v tests/homestead/identity_precompile/test_identity.py --fork Osaka

abstract: EIP-2: Homestead Identity Precompile Test Cases.

Test Functions Overview

Name Type Cases (Osaka) Description
test_identity_return_overwrite state_test 4 Test the return data of the identity precompile overwriting its input.
test_identity_return_buffer_modify state_test 4 Test the modification of the input range to attempt to modify the return