Skip to content

Test Modified Contract

Documentation for tests/prague/eip6110_deposits/test_modified_contract.py@8db70f93.

Generate fixtures for these test cases for Amsterdam with:

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

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

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_extra_logs blockchain_test 4 Test deposit contract emitting more log event types than the ones in
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