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

use dual state in ExtCodeHash opcode #1115

Closed
trung opened this issue Jan 20, 2021 · 0 comments · Fixed by #1105
Closed

use dual state in ExtCodeHash opcode #1115

trung opened this issue Jan 20, 2021 · 0 comments · Fixed by #1105

Comments

@trung
Copy link
Contributor

trung commented Jan 20, 2021

Opcode EXTCODEHASH is being introduced in EIP-1052 and implemented in geth PR ethereum/go-ethereum#17202

GoQuorum must be updated to reflect the dual state implementation for this opcode.

https://github.com/ConsenSys/quorum/blob/7b726385216c44e55fc6b6191a022fe598c102d4/core/vm/instructions.go#L551-L560

A potential impact is when a private contract tries to use EXTCODEHASH of a public contract. However, the lookup is done in the private state instead of public state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant