@@ -424,6 +424,7 @@ def generate_invalid_tx_max_fee_per_blob_gas_tests(
424424 min_base_fee_per_blob_gas , # tx max_blob_gas_cost is the minimum
425425 TransactionException .INSUFFICIENT_MAX_FEE_PER_BLOB_GAS ,
426426 id = "insufficient_max_fee_per_blob_gas" ,
427+ marks = pytest .mark .exception_test ,
427428 )
428429 )
429430 if (next_base_fee_per_blob_gas - min_base_fee_per_blob_gas ) > 1 :
@@ -436,6 +437,7 @@ def generate_invalid_tx_max_fee_per_blob_gas_tests(
436437 - 1 , # tx max_blob_gas_cost is one less than the minimum
437438 TransactionException .INSUFFICIENT_MAX_FEE_PER_BLOB_GAS ,
438439 id = "insufficient_max_fee_per_blob_gas_one_less_than_next" ,
440+ marks = pytest .mark .exception_test ,
439441 )
440442 )
441443 if min_base_fee_per_blob_gas > 1 :
@@ -446,6 +448,7 @@ def generate_invalid_tx_max_fee_per_blob_gas_tests(
446448 min_base_fee_per_blob_gas - 1 , # tx max_blob_gas_cost is one less than the minimum
447449 TransactionException .INSUFFICIENT_MAX_FEE_PER_BLOB_GAS ,
448450 id = "insufficient_max_fee_per_blob_gas_one_less_than_min" ,
451+ marks = pytest .mark .exception_test ,
449452 )
450453 )
451454
@@ -456,6 +459,7 @@ def generate_invalid_tx_max_fee_per_blob_gas_tests(
456459 0 , # tx max_blob_gas_cost is 0
457460 TransactionException .INSUFFICIENT_MAX_FEE_PER_BLOB_GAS ,
458461 id = "invalid_max_fee_per_blob_gas" ,
462+ marks = pytest .mark .exception_test ,
459463 )
460464 )
461465 return tests
@@ -533,6 +537,7 @@ def test_invalid_tx_max_fee_per_blob_gas_state(
533537 ],
534538 ids = ["insufficient_max_fee_per_gas" ],
535539)
540+ @pytest .mark .exception_test
536541@pytest .mark .valid_from ("Cancun" )
537542def test_invalid_normal_gas (
538543 state_test : StateTestFiller ,
@@ -572,6 +577,7 @@ def test_invalid_normal_gas(
572577 ],
573578 ids = ["" ],
574579)
580+ @pytest .mark .exception_test
575581@pytest .mark .valid_from ("Cancun" )
576582def test_invalid_block_blob_count (
577583 blockchain_test : BlockchainTestFiller ,
@@ -611,6 +617,7 @@ def test_invalid_block_blob_count(
611617@pytest .mark .parametrize ("tx_max_fee_per_blob_gas_multiplier" , [1 , 100 , 10000 ])
612618@pytest .mark .parametrize ("account_balance_modifier" , [- 1 ], ids = ["exact_balance_minus_1" ])
613619@pytest .mark .parametrize ("tx_error" , [TransactionException .INSUFFICIENT_ACCOUNT_FUNDS ], ids = ["" ])
620+ @pytest .mark .exception_test
614621@pytest .mark .valid_from ("Cancun" )
615622def test_insufficient_balance_blob_tx (
616623 state_test : StateTestFiller ,
@@ -831,6 +838,7 @@ def test_blob_gas_subtraction_tx(
831838)
832839@pytest .mark .parametrize ("account_balance_modifier" , [- 1 ], ids = ["exact_balance_minus_1" ])
833840@pytest .mark .parametrize ("tx_error" , [TransactionException .INSUFFICIENT_ACCOUNT_FUNDS ], ids = ["" ])
841+ @pytest .mark .exception_test
834842@pytest .mark .valid_from ("Cancun" )
835843def test_insufficient_balance_blob_tx_combinations (
836844 blockchain_test : BlockchainTestFiller ,
@@ -877,6 +885,7 @@ def generate_invalid_tx_blob_count_tests(
877885 "blobs_per_tx,tx_error" ,
878886 generate_invalid_tx_blob_count_tests ,
879887)
888+ @pytest .mark .exception_test
880889@pytest .mark .valid_from ("Cancun" )
881890def test_invalid_tx_blob_count (
882891 state_test : StateTestFiller ,
@@ -921,6 +930,7 @@ def test_invalid_tx_blob_count(
921930@pytest .mark .parametrize (
922931 "tx_error" , [TransactionException .TYPE_3_TX_INVALID_BLOB_VERSIONED_HASH ], ids = ["" ]
923932)
933+ @pytest .mark .exception_test
924934@pytest .mark .valid_from ("Cancun" )
925935def test_invalid_blob_hash_versioning_single_tx (
926936 state_test : StateTestFiller ,
@@ -979,6 +989,7 @@ def test_invalid_blob_hash_versioning_single_tx(
979989@pytest .mark .parametrize (
980990 "tx_error" , [TransactionException .TYPE_3_TX_INVALID_BLOB_VERSIONED_HASH ], ids = ["" ]
981991)
992+ @pytest .mark .exception_test
982993@pytest .mark .valid_from ("Cancun" )
983994def test_invalid_blob_hash_versioning_multiple_txs (
984995 blockchain_test : BlockchainTestFiller ,
@@ -1005,6 +1016,7 @@ def test_invalid_blob_hash_versioning_multiple_txs(
10051016@pytest .mark .parametrize (
10061017 "tx_gas" , [500_000 ], ids = ["" ]
10071018) # Increase gas to account for contract creation
1019+ @pytest .mark .exception_test
10081020@pytest .mark .valid_from ("Cancun" )
10091021def test_invalid_blob_tx_contract_creation (
10101022 blockchain_test : BlockchainTestFiller ,
@@ -1347,6 +1359,7 @@ def test_blob_tx_attribute_gasprice_opcode(
13471359 ],
13481360 ids = ["no_blob_tx" , "one_blob_tx" ],
13491361)
1362+ @pytest .mark .exception_test
13501363@pytest .mark .valid_at_transition_to ("Cancun" )
13511364def test_blob_type_tx_pre_fork (
13521365 state_test : StateTestFiller ,
0 commit comments