Skip to content

Test Deposits Out Of Gas

Documentation for tests/prague/eip6110_deposits/test_deposits_out_of_gas.py@5fa5938b.

Generate fixtures for these test cases for Amsterdam with:

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

Out-of-gas deposit tests.

Tests that deposit requests whose triggering call runs out of gas are not included in the block, for EIP-6110: Supply validator deposits on chain.

The gas limits are supplied via the interaction helpers (per-request gas_limits or directly on the prepared transaction) rather than being baked into the deposit request descriptor, keeping the gas concern isolated to these dedicated tests.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_deposit_from_contract_transaction_out_of_gas blockchain_test 1 Test that a relay-contract transaction with an insufficient gas limit runs
test_deposit_out_of_gas blockchain_test 4 Test that a deposit request whose triggering call runs out of gas is not