test_tx_gas_allowance_after_larger_tx()¶
Documentation for tests/frontier/validation/test_transaction.py::test_tx_gas_allowance_after_larger_tx@02aafd78.
Generate fixtures for these test cases for Bogota with:
fill -v tests/frontier/validation/test_transaction.py::test_tx_gas_allowance_after_larger_tx --fork Bogota
A transaction must fit the gas the block has left after the ones before it, even when it declares less gas than they do.
A client that executes transactions in parallel from the block access
list (EIP-7928) and checks gas allowances in another order, such as by
declared gas, admits the smaller transaction first, and the block's total
gas used then fits, so it accepts the block the exceeds case rejects.
Source code in tests/frontier/validation/test_transaction.py
503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 17 forks.