You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@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.
EIP-5022 link ethereum/EIPs#5022
tl;dr
Increase SSTORE when zero -> non-zero to
40_000
gaswhy
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.
The text was updated successfully, but these errors were encountered: