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

Add EXTCODEHASH opcode implementation #324

Closed
wants to merge 1 commit into from
Closed

Conversation

jwasinger
Copy link
Contributor

No description provided.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 71.355% when pulling 9cb48e0 on eip-1052 into 85870fa on constantinople.

@@ -288,6 +288,18 @@ module.exports = {
cb(null)
})
},
EXTCODEHASH: function (address, runState, cb) {
var stateManager = runState.stateManager
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to add check if it is on constantinople, otherwise throw.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 (Note to self: check that there are state tests that cover this edge case)

@axic
Copy link
Member

axic commented Jul 30, 2018

I'm not sure what is the proper process: are there any state tests merged for this yet? If not, should we merge it and then fix once the tests are added? I think I vote for merging and lets assume the tests will be added as they are required for consensus.

@jwasinger
Copy link
Contributor Author

Sounds good to me. I'm working on state tests for EXTCODEHASH.

@jwasinger
Copy link
Contributor Author

Moving this to: #326

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.

4 participants