EIP-3651: Warm COINBASE
Starts the `COINBASE` address warm
作者 | William Morriss |
---|---|
讨论-To | https://ethereum-magicians.org/t/eip-3651-warm-coinbase/6640 |
状态 | Stagnant |
类型 | Standards Track |
分类 | Core |
创建日期 | 2021-07-12 |
依赖 | 2929 |
英文版 | https://eips.ethereum.org/EIPS/eip-3651 |
摘要
The COINBASE
address shall be warm at the start of transaction execution, in accordance with the actual cost of reading that account.
动机
Direct COINBASE
payments are becoming increasingly popular because they allow conditional payments, which provide benefits such as implicit cancellation of transactions that would revert. But accessing COINBASE
is overpriced; the address is initially cold under the access list framework introduced in EIP-2929. This gas cost mismatch can incentivize alternative payments besides ETH, such as ERC20, but ETH should be the primary means of paying for transactions on Ethereum.
规范
At the start of transaction execution, accessed_addresses
shall be initialized to also include the address returned by COINBASE
(0x41
).
基本原理
The addresses currently initialized warm are the addresses that should already be loaded at the start of transaction validation. The ORIGIN
address is always loaded to check its balance against the gas limit and the gas price. The tx.to
address is always loaded to begin execution. The COINBASE
address should also be always be loaded because they receive the block reward as well as the transaction fees.
向后兼容性
There are no known backward compatibility issues presented by this change.
Security Considerations
There are no known security considerations introduced by this change.
版权声明
Copyright and related rights waived via CC0.
参考文献
Please cite this document as:
William Morriss, "EIP-3651: Warm COINBASE [DRAFT]," Ethereum Improvement Proposals, no. 3651, July 2021. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-3651.