From f9c9edd414ca2c735d30a5e5c967b1ccd7ccfbea Mon Sep 17 00:00:00 2001 From: milen <94537774+taratorio@users.noreply.github.com> Date: Thu, 6 Aug 2026 14:11:23 +0000 Subject: [PATCH] fix(tests): accept gas allowance error at EIP-7778 admission gate --- .../test_gas_accounting.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 38bf929695..45b145c521 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 @@ -614,7 +614,10 @@ def test_extra_tx_admission_uses_pre_refund_gas( blocks=[ Block( txs=[refund_tx, extra_tx], - exception=BlockException.GAS_USED_OVERFLOW, + exception=[ + BlockException.GAS_USED_OVERFLOW, + TransactionException.GAS_ALLOWANCE_EXCEEDED, + ], gas_limit=environment_gas_limit, ) ],