主页EIPs周刊
EIPsEIP-3651
EIP-3651

Warm COINBASE

Starts the `COINBASE` address warm
FinalStandards Track: Core
创建时间: 2021-07-12
关联 EIP: EIP-2929
William Morriss (@wjmelements)
社区讨论原文链接编辑
1 分钟了解
欢迎补充好内容
去提交
相关视频
欢迎补充好内容
去提交
正文

Abstract

The COINBASE address shall be warm at the start of transaction execution, in accordance with the actual cost of reading that account.

Motivation

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 ERC-20, but ETH should be the primary means of paying for transactions on Ethereum.

Specification

At the start of transaction execution, accessed_addresses shall be initialized to also include the address returned by COINBASE (0x41).

Rationale

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 it receives the block reward and the transaction fees.

Backwards Compatibility

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.

扩展阅读
欢迎补充好内容
去提交

不想错过最新的 EIP 动态?

订阅 EIPs Fun 周刊以跟进相关更新,建⽴你与 EIP 之间的连接 ,更好地建设以太坊。

详情
支持以太坊贡献者,推动生态建设
资源
GitHub
支持社区