Skip to content

Test Identity

Documentation for tests/homestead/identity_precompile/test_identity.py@02aafd78.

Generate fixtures for these test cases for Bogota with:

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

EIP-2: Homestead Identity Precompile Test Cases.

Test Functions Overview

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