Skip to content

Test Deposits Withdrawals Consolidations

Documentation for tests/prague/eip7685_general_purpose_el_requests/test_deposits_withdrawals_consolidations.py@49c766fb.

Generate fixtures for these test cases for Prague with:

fill -v tests/prague/eip7685_general_purpose_el_requests/test_deposits_withdrawals_consolidations.py --fork Prague

Test Functions Overview

Name Type Cases (Prague) Description
test_valid_deposit_withdrawal_consolidation_requests blockchain_test 18 Test making a deposit to the beacon chain deposit contract and a withdrawal in the same block.
test_valid_deposit_withdrawal_consolidation_request_from_same_tx blockchain_test 6 Test making a deposit to the beacon chain deposit contract and a withdrawal in the same tx.
test_invalid_deposit_withdrawal_consolidation_requests blockchain_test 12 Negative testing for all request types in the same block.