-
Notifications
You must be signed in to change notification settings - Fork 310
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
docs: Add storage change status analysis #418
Conversation
f4e07f0
to
e5166fb
Compare
docs/storage_change_status.md
Outdated
|
||
| Constant | Value | | ||
| -------- | ----- | | ||
| SLOAD | 200 | |
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.
You're using 200
for all of these - but it's 800
no?
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.
Yes, the unmerged EIP-2200 uses 800, but I wasn't sure the repricing 100% confirmed to go though. The precise value is secondary in the context of this document.
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.
It did go through, eventually, haha :)
@chfast can this be merged (without any major changes) or this current version is invalid? |
Rebased. And trying updating it with the final Istanbul numbers. The commits can be squashed. |
This has doxygen warnings:
|
Expand the number of storage statuses to cover all possible EVM behaviors. These provide enough information to VM to compute not only gas costs but also refunds. Including legacy SSTORE costs before net gas metering.
Naming these is fun...
There are also differences in basic names in EVMC and the EVM spec:
ADDED
vsSET
,MODIFIED
vsRESET
,DELETED
vsCLEARS
.