-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EIP 3651: Warm COINBASE #3651
EIP 3651: Warm COINBASE #3651
Changes from all commits
81add2c
0f21b5f
3abb6b0
fb3c11b
84e2abc
97f8fb6
43484d5
a91d321
c898e4e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,40 @@ | ||||||
--- | ||||||
eip: 3651 | ||||||
title: Warm COINBASE | ||||||
author: William Morriss (@wjmelements) | ||||||
discussions-to: https://ethereum-magicians.org/t/eip-3651-warm-coinbase/6640 | ||||||
status: Draft | ||||||
type: Standards Track | ||||||
category: Core | ||||||
created: 2021-07-12 | ||||||
requires: 2929 | ||||||
--- | ||||||
|
||||||
## Simple Summary | ||||||
Starts the `COINBASE` address warm | ||||||
|
||||||
## 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](https://eips.ethereum.org/EIPS/eip-2929). | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Grammar:
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @MicahZoltu didn't you miss the long URL vs. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, yes. @wjmelements please change the link to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😀 |
||||||
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. | ||||||
|
||||||
## 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 they receive the block reward as well as 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 | ||||||
wjmelements marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wjmelements
Hi, could you explain what is
Direct COINBASE payments
? thanks in advance.BTW, the EIP still encourage users to paying for transactions on Ethereum?