test_block_at_rlp_size_limit_boundary()¶
Documentation for tests/osaka/eip7934_block_rlp_limit/test_max_block_rlp_size.py::test_block_at_rlp_size_limit_boundary@e9958ed2.
Generate fixtures for these test cases for Osaka with:
fill -v tests/osaka/eip7934_block_rlp_limit/test_max_block_rlp_size.py::test_block_at_rlp_size_limit_boundary --fork Osaka
Test the block rlp size limit.
- At the limit - 1 byte, the block is valid
- At the limit, the block is valid
- At the limit + 1 byte, the block is invalid
Source code in tests/osaka/eip7934_block_rlp_limit/test_max_block_rlp_size.py
421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 | |
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
| Test ID (Abbreviated) | delta |
|---|---|
| ...fork_Osaka-blockchain_test-max_rlp_size_minus_1_byte | -1 |
| ...fork_Osaka-blockchain_test-max_rlp_size | 0 |
| ...fork_Osaka-blockchain_test-max_rlp_size_plus_1_byte | 1 |
| ...fork_Osaka-blockchain_test_sync-max_rlp_size_minus_1_byte | -1 |
| ...fork_Osaka-blockchain_test_sync-max_rlp_size | 0 |