test_tx_gas_above_cap_at_transition()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_fork_transition.py::test_tx_gas_above_cap_at_transition@ffe48572.
Generate fixtures for these test cases for Amsterdam with:
Test transaction and block gas constraints at the EIP-8037 transition.
Before EIP-8037, EIP-7825 rejects any tx with gas > TX_MAX_GAS_LIMIT.
After EIP-8037 that gas limit is allowed — the excess feeds the state
gas reservoir — but the replacement constraint still rejects a
transaction whose intrinsic execution gas exceeds the cap. The scenarios
pin acceptance at the cap, the old-rule rejection/new-rule acceptance flip
at cap + 1, and rejection by the new transaction rule.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_fork_transition.py
346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 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 | |
Parametrized Test Cases¶
This test generates 3 parametrized test cases across 1 fork.