diff --git a/tests/amsterdam/eip7778_block_gas_accounting_without_refunds/test_gas_accounting.py b/tests/amsterdam/eip7778_block_gas_accounting_without_refunds/test_gas_accounting.py index d1b9f9121af..dfead7f5006 100644 --- a/tests/amsterdam/eip7778_block_gas_accounting_without_refunds/test_gas_accounting.py +++ b/tests/amsterdam/eip7778_block_gas_accounting_without_refunds/test_gas_accounting.py @@ -327,7 +327,10 @@ def test_multi_transaction_gas_accounting( blocks=[ Block( txs=txs, - exception=BlockException.GAS_USED_OVERFLOW + exception=[ + BlockException.GAS_USED_OVERFLOW, + TransactionException.GAS_ALLOWANCE_EXCEEDED, + ] if exceed_block_gas_limit else None, expected_gas_used=total_block_gas_used