Skip to content

Test Consolidations Out Of Gas

Documentation for tests/prague/eip7251_consolidations/test_consolidations_out_of_gas.py@5fa5938b.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/prague/eip7251_consolidations/test_consolidations_out_of_gas.py --fork Amsterdam

Out-of-gas consolidation request tests.

Tests that consolidation requests whose triggering call runs out of gas are not included in the block, for EIP-7251: Increase the MAX_EFFECTIVE_BALANCE.

The gas limits are supplied per-request via the interaction's gas_limits list rather than being baked into the consolidation request descriptor, keeping the gas concern isolated to these dedicated tests.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_consolidation_requests_out_of_gas blockchain_test 4 Test that a consolidation request whose triggering call runs out of gas is