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

vm,vars: install SLOAD constantGas to eip2200 #155

Merged
merged 1 commit into from
Jul 27, 2020

Conversation

meowsbits
Copy link
Contributor

Whether on not EIP2200 specifies SLOAD constant gas is a matter of interpretation and contention.
The document presumes the simultaneity of 1884, but does not do so explicitly.

However, EIP2200's engineering DOES NEED the SLOAD constant gas at 800, whether it clearly specifies it or not.
Please see #35 as a starting point for reading through some of the history
here.

For all networks supported, and theoretically all networks properly using 2200,
this change is a no-op; since 2200 MUST be accompanied by 1884.

The reason for this change is to make the code the same as ethereum/go-ethereum,
eliminating recurring merge conflicts that raise eyebrows.

Signed-off-by: meows b5c6@protonmail.com

Whether on not EIP2200 specifies SLOAD constant gas is a matter of interpretation and contention.
The document presumes the simultaneity of 1884, but does not do so explicitly.
However, EIP2200's engineering DOES NEED the SLOAD constant gas at 800, whether it specifies it or not.
Please see #35 as a starting point for reading through some of the history
here.

For all networks supported, and theoretically all networks properly using 2200,
change is a noop; since 2200 MUST be accompanied by 1884.

The reason for this change is to make the code the same as ethereum/go-ethereum,
eliminating recurring merge conflicts that raise eyebrows.

Signed-off-by: meows <b5c6@protonmail.com>
@meowsbits meowsbits self-assigned this Jul 27, 2020
@meowsbits meowsbits merged commit 04c5320 into master Jul 27, 2020
@meowsbits meowsbits deleted the fix/eip2200-sload-constantgas branch July 27, 2020 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant