test_call_with_value_to_coinbase_no_priority_fee_log()¶
Documentation for tests/amsterdam/eip7708_eth_transfer_logs/test_transfer_logs.py::test_call_with_value_to_coinbase_no_priority_fee_log@ffe48572.
Generate fixtures for these test cases for Bogota with:
Verify no Transfer log is emitted for the coinbase priority fee.
A contract executes CALL with nonzero value to the coinbase address, and the transaction pays a nonzero priority fee to that same coinbase. Only the CALL-with-value must produce a Transfer log; the priority fee crediting happens outside the EVM as a protocol-level balance change and must not emit a log.
An implementation that hooks all balance additions (instead of only CALL / SELFDESTRUCT / tx-level value transfers) would emit an extra Transfer log for the fee and fail the exact-log assertion.
Source code in tests/amsterdam/eip7708_eth_transfer_logs/test_transfer_logs.py
Parametrized Test Cases¶
This test generates 1 parametrized test case across 2 forks.