diff --git a/tests/cancun/eip4844_blobs/test_blob_txs.py b/tests/cancun/eip4844_blobs/test_blob_txs.py index 7b9250c788..2f3f2c7cc3 100644 --- a/tests/cancun/eip4844_blobs/test_blob_txs.py +++ b/tests/cancun/eip4844_blobs/test_blob_txs.py @@ -643,7 +643,7 @@ def test_insufficient_balance_blob_tx( all_valid_blob_combinations(), ) @pytest.mark.parametrize("account_balance_modifier", [-1], ids=["exact_balance_minus_1"]) -@pytest.mark.parametrize("tx_error", ["insufficient_account_balance"], ids=[""]) +@pytest.mark.parametrize("tx_error", ["insufficient account balance"], ids=[""]) @pytest.mark.valid_from("Cancun") def test_insufficient_balance_blob_tx_combinations( blockchain_test: BlockchainTestFiller, @@ -668,8 +668,8 @@ def test_insufficient_balance_blob_tx_combinations( @pytest.mark.parametrize( "blobs_per_tx,tx_error,block_error", [ - ([0], "zero_blob_tx", "zero_blob_tx"), - ([SpecHelpers.max_blobs_per_block() + 1], None, "too_many_blobs"), + ([0], "zero blob tx", "zero blob tx"), + ([SpecHelpers.max_blobs_per_block() + 1], None, "too many blobs"), ], ids=["too_few_blobs", "too_many_blobs"], ) @@ -737,7 +737,7 @@ def test_invalid_tx_blob_count( "multiple_txs_multiple_blobs_single_bad_hash_2", ], ) -@pytest.mark.parametrize("tx_error", ["invalid_versioned_hash"], ids=[""]) +@pytest.mark.parametrize("tx_error", ["invalid blob versioned hash"], ids=[""]) @pytest.mark.valid_from("Cancun") def test_invalid_blob_hash_versioning( blockchain_test: BlockchainTestFiller, @@ -1010,8 +1010,8 @@ def test_blob_tx_attribute_gasprice_opcode( "engine_api_error_code", ], [ - ([0], None, 1, "Invalid params", EngineAPIError.InvalidParams), - ([1], None, 1, "Invalid params", EngineAPIError.InvalidParams), + ([0], None, 1, "tx type 3 not allowed pre-Cancun", EngineAPIError.InvalidParams), + ([1], None, 1, "tx type 3 not allowed pre-Cancun", EngineAPIError.InvalidParams), ], ids=["no_blob_tx", "one_blob_tx"], ) diff --git a/tests/cancun/eip4844_blobs/test_excess_blob_gas_fork_transition.py b/tests/cancun/eip4844_blobs/test_excess_blob_gas_fork_transition.py index 2a12c29a00..267f558a59 100644 --- a/tests/cancun/eip4844_blobs/test_excess_blob_gas_fork_transition.py +++ b/tests/cancun/eip4844_blobs/test_excess_blob_gas_fork_transition.py @@ -168,12 +168,12 @@ def test_invalid_pre_fork_block_with_blob_fields( Block( timestamp=(FORK_TIMESTAMP - 1), rlp_modifier=header_modifier, - exception="Invalid params", + exception="invalid pre fork blob fields", engine_api_error_code=EngineAPIError.InvalidParams, ) ], genesis_environment=env, - tag="invalid_pre_fork_excess_blob_gas", + tag="invalid_pre_fork_blob_fields", ) @@ -213,12 +213,12 @@ def test_invalid_post_fork_block_without_blob_fields( Block( timestamp=FORK_TIMESTAMP, rlp_modifier=header_modifier, - exception="Invalid params", + exception="blob fields missing post fork", engine_api_error_code=EngineAPIError.InvalidParams, ) ], genesis_environment=env, - tag="excess_blob_gas_missing_post_fork", + tag="blob_fields_missing_post_fork", )