-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Errata: EIP-2200 should require EIP-1884 #2514
Conversation
wouldn't accepting the modification of this final proposal force us to revert the clients? |
Changed this to be a much simpler way -- add clause |
@soc1c To answer your question, no it wouldn't. The way client teams implemented it was that they will take the My thoughts: |
I wouldn't mind either 86437ec or 86437ec + 44feb98 but I disagree for the point that the former doesn't clear up things. The only confusion point is if EIP-2200 is applied without EIP-1884. Applying 2200 without 1884 was never intended and is in fact buggy (SLOAD/SSTORE gas costs are quite messed up in that situation). Users who wish to do that should use EIP-1283 + EIP-1706 instead. |
But... (and I hate to be nitpicky here Or...? I'm not very familiar with the EIP process specs... can one simply amend a |
@meowsbits See #2388 which is an errata for EIP-1052. Your route works as well, but given there're precedents of errata, I do not plan to create new specifications at this moment. And just FYI, EIP-1884 is indeed mentioned in the summary section of 2200:
I think it's over-exaggerate to call it "buggy". No changes mentioned here will require implementations to change anything or to cause consensus bugs in Ethereum. Rather, it's a "potential of misuse". Not specify 1884 can indeed lead to people from other chains trying to apply this specifications without it, and result in problematic chains. |
@sorpaas Thanks for the clarification! (And sorry I missed the 1884 reference - my search went down, but not up all the way... oops). I have one more question - does this specification (EIP2200) actually specify ... And if
to
|
Thinking again I don't think this is needed at all. The so-called "bug" only affects ETC and has nothing to do with Ethereum or EIPs anyway. I don't think we should spend too much time dealing with unintended use cases like this. I'm closing this PR for now. We can re-open it if it's really needed in the future. |
why would you close this?? |
This PR add clause
requires: 1884
for EIP-2200, otherwise the variable nameSLOAD_GAS
in EIP-2200 can be a point of confusion.