Skip to content
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

Proposal to add EIP-5022 to Shanghai #519

Closed
greenlucid opened this issue May 1, 2022 · 2 comments
Closed

Proposal to add EIP-5022 to Shanghai #519

greenlucid opened this issue May 1, 2022 · 2 comments

Comments

@greenlucid
Copy link

greenlucid commented May 1, 2022

EIP-5022 link ethereum/EIPs#5022

tl;dr

Increase SSTORE when zero -> non-zero to 40_000 gas

why

SSTORE is not priced correctly, its cost is way higher than its pricing.
Also, with ethereum/EIPs#4844, rollup data won't even be competing with SSTOREs because they will be priced differently, which will not allow to slow down state growth.

why not do it better (state expiry, 1559-like SSTORE pricing, state rent...)

Because that wouldn't be fast enough to be included in a fork as soon as possible. The cost of SSTOREs for the network is too different from its pricing

can this be done fast?

Yes. Opcode gas repricing has been done in the past, and even though the implementation is always manual, it is always streamlined. This is why this is a good contender for Shanghai inclusion, or even before.

could this be done before Shanghai?

I would advocate to have this added on the merge or the (likely) difficulty bomb push before the merge, since a short term solution for state growth is needed. Shanghai appears to be a big fork. Waiting to get this included in Shanghai will mean another year or so of the network subsidizing SSTOREs.

@timbeiko
Copy link
Collaborator

@greenlucid note that on #616 we agreed to use Ethereum Magicians to discuss potential Shanghai EIPs async over the next few weeks. See here for more info.

@timbeiko
Copy link
Collaborator

timbeiko commented Dec 8, 2022

We finalized the scope for Shanghai on ACD151, and discussions about Cancun inclusion should be moved to https://ethereum-magicians.org/t/cancun-eip-consideration/12060

@timbeiko timbeiko closed this as completed Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants