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

Implement EIP-7610 #999

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Implement EIP-7610 #999

merged 1 commit into from
Sep 25, 2024

Conversation

gurukamath
Copy link
Collaborator

What was wrong?

EIP-7610 is not implemented currently.

How was it fixed?

Implement EIP-7610

Cute Animal Picture

Cute Animals - 1 of 1

@gurukamath gurukamath changed the base branch from master to forks/prague September 7, 2024 15:05
Comment on lines 371 to 372
if address in state._storage_tries:
return True
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it make sense to introduce a has_storage(state: State, address: Address) function?

Either way, I think we need to modify the ethereum_optimized monkey patches, since that implementation doesn't have _storage_tries.

Adding and patching a has_storage function (instead of patching account_has_code_or_nonce_or_storage) would probably mean less code in ethereum_optimized, which is usually good.

Copy link
Collaborator Author

@gurukamath gurukamath Sep 24, 2024

Choose a reason for hiding this comment

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

Have introduced the has_storage function. Haven't implemented any updates to the optimized implementation but made a note in the post-prague re-factoring issue #948

@gurukamath gurukamath merged commit 65f9ff7 into ethereum:forks/prague Sep 25, 2024
5 checks passed
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 this pull request may close these issues.

2 participants