Skip to content

Commit

Permalink
tests/cancun/eip4844_blobs: Add Engine API error codes to invalid tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
--global committed Aug 9, 2023
1 parent 4f1f60f commit 8ddd74b
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
Account,
Block,
BlockchainTestFiller,
EngineAPIError,
Environment,
Header,
TestAddress,
Expand Down Expand Up @@ -164,7 +165,8 @@ def test_invalid_pre_fork_block_with_blob_fields(
Block(
timestamp=(FORK_TIMESTAMP - 1),
rlp_modifier=header_modifier,
exception="invalid field",
exception="Invalid params",
engine_api_error_code=EngineAPIError.InvalidParams,
)
],
genesis_environment=env,
Expand Down Expand Up @@ -205,7 +207,8 @@ def test_invalid_post_fork_block_without_blob_fields(
Block(
timestamp=FORK_TIMESTAMP,
rlp_modifier=header_modifier,
exception="missing field",
exception="Invalid params",
engine_api_error_code=EngineAPIError.InvalidParams,
)
],
genesis_environment=env,
Expand Down

0 comments on commit 8ddd74b

Please sign in to comment.