Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Fix opcode EXTCODEHASH to use non-existing proof for account existence#305

Merged
roynalnaruto merged 4 commits into
privacy-ethereum:masterfrom
scroll-tech:fix/update-extcodehash-non-existing-account-tag
Nov 12, 2022
Merged

Fix opcode EXTCODEHASH to use non-existing proof for account existence#305
roynalnaruto merged 4 commits into
privacy-ethereum:masterfrom
scroll-tech:fix/update-extcodehash-non-existing-account-tag

Conversation

@silathdiir
Copy link
Copy Markdown
Contributor

According to previous BALANCE PR #248, fix this opcode to use non-existing proof for account existence check.

@silathdiir
Copy link
Copy Markdown
Contributor Author

Hi @ed255 , could you help review this PR when you have time? It refactors opcode EXTCODEHASH to use AccountFieldTag.NonExisting as previous BALANCE PR #248 . Thanks.

@ed255 ed255 self-requested a review November 9, 2022 09:44
Copy link
Copy Markdown
Contributor

@ed255 ed255 left a comment

Choose a reason for hiding this comment

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

LGTM! I've added two minor notes.

Comment thread src/zkevm_specs/evm/execution/extcodehash.py Outdated
Comment thread tests/evm/test_extcodehash.py Outdated
@ed255
Copy link
Copy Markdown
Contributor

ed255 commented Nov 9, 2022

@silathdiir could you request someone from scroll to do a second review for this PR before we merge it?

@silathdiir
Copy link
Copy Markdown
Contributor Author

@silathdiir could you request someone from scroll to do a second review for this PR before we merge it?

Yes. I asked @roynalnaruto to help review that PR later. He implemented this EXTCODEHASH spec before. Thanks.

Copy link
Copy Markdown
Collaborator

@roynalnaruto roynalnaruto left a comment

Choose a reason for hiding this comment

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

Looks good to me

@roynalnaruto roynalnaruto merged commit 87ba696 into privacy-ethereum:master Nov 12, 2022
@roynalnaruto roynalnaruto deleted the fix/update-extcodehash-non-existing-account-tag branch November 12, 2022 03:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants