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
{{ message }}
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
gumb0
changed the title
Implement EIP-2200: Rebalance net-metered SSTORE gas cost with consideration of SLOAD gas cost change in aleth-interpreter
Implement EIP-2200: Structured Definitions for Net Gas Metering in aleth-interpreter
Sep 23, 2019
@payvint Our implementation I think is closer to the spec definition in the current version of the EIP at ethereum/EIPs#2200, than to the one at your link (but I guess they are effectively equivalent)
So, @gumb0 , thank you for links very much. I 've just figured it out. But I have one question: https://gist.github.com/karalabe/adc43c07db9f03be82093cd5466562b0#specification ethereum/EIPs#2200
In last version - constants are changed and optimized from 8 new to 1 changes in existing implementation, but you changed a constant named SLOAD_GAS - does it related to existence one?
SLOAD_GAS was 200 and became 800 - does it mean that opcode sload - costs 4 times more?
if yes - it is not mentioned in EIP, as I read. if no - please show me where could I find proofs?:)
Thanks
@gumb0 Thank you very much. Figured out everything!!!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
5 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ethereum/EIPs#2200