Skip to content

Test Modified Contract

Documentation for tests/prague/eip6110_deposits/[email protected].

Generate fixtures for these test cases for Prague with:

fill -v tests/prague/eip6110_deposits/test_modified_contract.py --fork Prague

Test variants of the deposit contract which adheres the log-style as described in EIP-6110.

Test Functions Overview

Name Type Cases (Prague) Description
test_extra_logs blockchain_test 2 Test deposit contract emitting more log event types than the ones in mainnet.
test_invalid_layout blockchain_test 20 Test deposit contract emitting logs with invalid layouts (sizes/offsets).
test_invalid_log_length blockchain_test 2 Test deposit contract emitting logs with invalid log length (one byte more or less).