Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions EIPS/eip-5022.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---

Check warning on line 1 in EIPS/eip-5022.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

preamble is missing header(s): `description`

warning[preamble-req]: preamble is missing header(s): `description` --> EIPS/eip-5022.md | | = help: see https://ethereum.github.io/eipw/preamble-req/

Check warning on line 1 in EIPS/eip-5022.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

preamble is missing header(s): `description`

warning[preamble-req]: preamble is missing header(s): `description` --> EIPS/eip-5022.md | | = help: see https://ethereum.github.io/eipw/preamble-req/
eip: 5022
title: Increase price of SSTORE from zero to non-zero to 40k gas

Check warning on line 3 in EIPS/eip-5022.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

preamble header `title` value is too long (max 44)

warning[preamble-len-title]: preamble header `title` value is too long (max 44) --> EIPS/eip-5022.md:3:7 | 3 | title: Increase price of SSTORE from zero to non-zero to 40k gas | ---------------------------------------------------------- too long | = help: see https://ethereum.github.io/eipw/preamble-len-title/

Check warning on line 3 in EIPS/eip-5022.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

preamble header `title` value is too long (max 44)

warning[preamble-len-title]: preamble header `title` value is too long (max 44) --> EIPS/eip-5022.md:3:7 | 3 | title: Increase price of SSTORE from zero to non-zero to 40k gas | ---------------------------------------------------------- too long | = help: see https://ethereum.github.io/eipw/preamble-len-title/
author: Green (@greenlucid)
status: Stagnant

Check warning on line 5 in EIPS/eip-5022.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

preamble header `status` is out of order

warning[preamble-order]: preamble header `status` is out of order --> EIPS/eip-5022.md | 5 | status: Stagnant | = help: `status` should come after `discussions-to` = help: see https://ethereum.github.io/eipw/preamble-order/

Check warning on line 5 in EIPS/eip-5022.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

preamble header `status` is out of order

warning[preamble-order]: preamble header `status` is out of order --> EIPS/eip-5022.md | 5 | status: Stagnant | = help: `status` should come after `discussions-to` = help: see https://ethereum.github.io/eipw/preamble-order/
type: Standards Track
category: Core
created: 2022-04-20
discussions-to: https://ethereum-magicians.org/t/eip-proposal-increase-cost-of-sstore-from-20k-to-x-when-creating-new-storage/7614
---

Check warning on line 11 in EIPS/eip-5022.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

body is missing section(s): `Abstract`, `Specification`, `Security Considerations`, `Copyright`

warning[markdown-req-section]: body is missing section(s): `Abstract`, `Specification`, `Security Considerations`, `Copyright` --> EIPS/eip-5022.md | | = help: must be at the second level (`## Heading`) = help: see https://ethereum.github.io/eipw/markdown-req-section/

Check warning on line 11 in EIPS/eip-5022.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

body is missing section(s): `Abstract`, `Specification`, `Security Considerations`, `Copyright`

warning[markdown-req-section]: body is missing section(s): `Abstract`, `Specification`, `Security Considerations`, `Copyright` --> EIPS/eip-5022.md | | = help: must be at the second level (`## Heading`) = help: see https://ethereum.github.io/eipw/markdown-req-section/
### Abstract

Increase the price of the SSTORE opcode from `20_000` gas to `40_000` gas when the original slot is zero and the resultant slot is non-zero.
Expand Down Expand Up @@ -39,7 +39,7 @@

The current pricing was made off a naive approach of benchmarking opcodes in a laptop. Not only it did not consider the long term problem of having the same price for a resource that costs more over time, the benchmark itself was wrong. This price is closer to what the naive original benchmark should have been. It could go higher, but that may be too disruptive.

### Is this too distruptive?
### Is this too disruptive?

This change will severely impact the gas cost of many applications. The network does not have to subsidize state growth at the expense of more expensive regular transactions, so even if it is too disruptive, it will increase the health of the network.

Expand All @@ -58,10 +58,10 @@

It is a gas schedule change, so transactions from an epoch before FORK_BLOCK should be treated with previous gas costs.

## Implementation

Check warning on line 61 in EIPS/eip-5022.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

body has extra section(s)

warning[markdown-order-section]: body has extra section(s) --> EIPS/eip-5022.md | 61 | ## Implementation | ::: EIPS/eip-5022.md | 65 | ## Security considerations | = help: see https://ethereum.github.io/eipw/markdown-order-section/

Check warning on line 61 in EIPS/eip-5022.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

body has extra section(s)

warning[markdown-order-section]: body has extra section(s) --> EIPS/eip-5022.md | 61 | ## Implementation | ::: EIPS/eip-5022.md | 65 | ## Security considerations | = help: see https://ethereum.github.io/eipw/markdown-order-section/

https://github.com/ethereum/go-ethereum/pull/24725

Check warning on line 63 in EIPS/eip-5022.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

non-relative link or image

warning[markdown-rel-links]: non-relative link or image --> EIPS/eip-5022.md | 63 | https://github.com/ethereum/go-ethereum/pull/24725 | = help: see https://ethereum.github.io/eipw/markdown-rel-links/

Check warning on line 63 in EIPS/eip-5022.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

non-relative link or image

warning[markdown-rel-links]: non-relative link or image --> EIPS/eip-5022.md | 63 | https://github.com/ethereum/go-ethereum/pull/24725 | = help: see https://ethereum.github.io/eipw/markdown-rel-links/

## Security considerations

TODO
TODO
Loading