test_top_frame_charges_delegation_is_sender()¶
Documentation for tests/amsterdam/eip2780_reduce_intrinsic_tx_gas/test_warmth_invariants.py::test_top_frame_charges_delegation_is_sender@c74f1a67.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip2780_reduce_intrinsic_tx_gas/test_warmth_invariants.py::test_top_frame_charges_delegation_is_sender --fork Amsterdam
Recipient holds a pre-existing EIP-7702 delegation whose target is
the sender (tx.origin). The top-frame still charges
COLD_ACCOUNT_ACCESS for the delegation target; the dispatched
EVM frame finds the sender's empty EOA code and exits immediately.
Source code in tests/amsterdam/eip2780_reduce_intrinsic_tx_gas/test_warmth_invariants.py
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 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 1 fork.