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
6 changes: 3 additions & 3 deletions EIPS/eip-1283.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---

Check failure on line 1 in EIPS/eip-1283.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

preamble is missing header(s): `description`

error[preamble-req]: preamble is missing header(s): `description` --> EIPS/eip-1283.md | | = help: see https://ethereum.github.io/eipw/preamble-req/
eip: 1283
title: Net gas metering for SSTORE without dirty maps

Check failure on line 3 in EIPS/eip-1283.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

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

error[preamble-len-title]: preamble header `title` value is too long (max 44) --> EIPS/eip-1283.md:3:7 | 3 | title: Net gas metering for SSTORE without dirty maps | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ too long | = help: see https://ethereum.github.io/eipw/preamble-len-title/
author: Wei Tang (@sorpaas)
discussions-to: https://github.com/sorpaas/EIPs/issues/1

Check failure on line 5 in EIPS/eip-1283.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

preamble header `discussions-to` should point to a thread on ethereum-magicians.org

error[preamble-re-discussions-to]: preamble header `discussions-to` should point to a thread on ethereum-magicians.org --> EIPS/eip-1283.md:5:16 | 5 | discussions-to: https://github.com/sorpaas/EIPs/issues/1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required pattern was not matched | = info: the pattern in question: `^https://ethereum-magicians.org/t/[^/]+/[0-9]+$` = help: see https://ethereum.github.io/eipw/preamble-re-discussions-to/
status: Final
type: Standards Track
category: Core
created: 2018-08-01
---

Check failure on line 11 in EIPS/eip-1283.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

body is missing section(s): `Security Considerations`

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

This EIP proposes net gas metering changes for `SSTORE` opcode, enabling
new usages for contract storage, and reducing excessive gas costs
where it doesn't match how most implementation works.
where it doesn't match how most implementations work.

This acts as an alternative for EIP-1087, where it tries to be
friendlier to implementations that use different optimization
Expand All @@ -23,7 +23,7 @@

This EIP proposes a way for gas metering on SSTORE (as an alternative
for EIP-1087 and EIP-1153), using information that is more universally
available to most implementations, and require as little change in
available to most implementations, and requires as little change in
implementation structures as possible.

* *Storage slot's original value*.
Expand Down Expand Up @@ -89,7 +89,7 @@
counter needs to be changed to signed -- at internal calls, a child
refund can go below zero.

## Explanation

Check failure on line 92 in EIPS/eip-1283.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

body has extra section(s)

error[markdown-order-section]: body has extra section(s) --> EIPS/eip-1283.md | 92 | ## Explanation | ::: EIPS/eip-1283.md | 233 | ## Appendix: Proof | = help: see https://ethereum.github.io/eipw/markdown-order-section/

The new gas cost scheme for `SSTORE` is divided into three different
types:
Expand Down Expand Up @@ -127,7 +127,7 @@

### State Transition

Below is a graph ([by

Check failure on line 130 in EIPS/eip-1283.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

non-relative link or image

error[markdown-rel-links]: non-relative link or image --> EIPS/eip-1283.md | 130 | Below is a graph ([by | = help: see https://ethereum.github.io/eipw/markdown-rel-links/
@Arachnid](https://github.com/ethereum/EIPs/pull/1283#issuecomment-410229053))
showing possible state transition of gas costs. We ignore **No-op**
state because that is trivial:
Expand Down Expand Up @@ -205,9 +205,9 @@
## Test Cases

Below we provide 17 test cases. 15 of them covering consecutive two
`SSTORE` operations are based on work [by

Check failure on line 208 in EIPS/eip-1283.md

View workflow job for this annotation

GitHub Actions / EIP Walidator

non-relative link or image

error[markdown-rel-links]: non-relative link or image --> EIPS/eip-1283.md | 208 | `SSTORE` operations are based on work [by |
@chfast](https://github.com/ethereum/tests/issues/483). Two additional
case with three `SSTORE` operations is used to test the case when a
cases with three `SSTORE` operations is used to test the case when a
slot is reset and then set again.

| Code | Used Gas | Refund | Original | 1st | 2nd | 3rd |
Expand Down
Loading