-
Couldn't load subscription status.
- Fork 14
More spec fixes #511
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
More spec fixes #511
Conversation
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
| isSystemContract := interpreter.evm.isSystemContract(address) | ||
| if _, isPrecompile := interpreter.evm.precompile(address); isPrecompile || isSystemContract { |
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.
Signed-off-by: Ignacio Hagopian <[email protected]>
| if _, isPrecompile := interpreter.evm.precompile(addr); isPrecompile { | ||
| isSystemContract := interpreter.evm.isSystemContract(addr) | ||
| if _, isPrecompile := interpreter.evm.precompile(addr); isPrecompile || isSystemContract { |
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.
Ditto.
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.
most of it is fine, but I believe that the write-touching of the code hash should be distinct from whether or not there is an account at the location.
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.
As I said in dm, we should rename and always set the write mode to true since there is no gas difference. This way, it'll be covered by the 21000. Just please add a comment so that we don't "fix" it later when rebasing.
b13fafc to
4bdfaba
Compare
Signed-off-by: Ignacio Hagopian <[email protected]>
4bdfaba to
fa1e494
Compare

This PR is solving spec bugs found when @tanishqjasoria is running tentative v0.0.5 fixture set.