test_zero_gas_price_nonexistent_sender()¶
Documentation for tests/frontier/touch/test_touch.py::test_zero_gas_price_nonexistent_sender@b314d18e.
Generate fixtures for these test cases for Berlin with:
fill -v tests/frontier/touch/test_touch.py::test_zero_gas_price_nonexistent_sender --fork Berlin
Test a zero gasprice, zero value transaction from a sender that does not exist in the pre-state.
Because the transaction is free (gas_price=0) and transfers no value, no balance is ever deducted from the sender, so the sender account is only materialized when its nonce is incremented. Clients must create the sender account in this case rather than failing on a missing account.
Source code in tests/frontier/touch/test_touch.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 9 forks.