Skip to content

Test Deposits Withdrawals Consolidations

Documentation for tests/prague/eip7685_general_purpose_el_requests/test_deposits_withdrawals_consolidations.py@f6ab9733.

Generate fixtures for these test cases for Prague with:

Prague only:

fill -v tests/prague/eip7685_general_purpose_el_requests/test_deposits_withdrawals_consolidations.py --fork=Prague --evm-bin=/path/to/evm-tool-dev-version

For all forks up to and including Prague:

fill -v tests/prague/eip7685_general_purpose_el_requests/test_deposits_withdrawals_consolidations.py --until=Prague

Test Functions Overview

Name Type Cases 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 3 Negative testing for deposits and withdrawals in the same block.