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

core/state: add flag for inidicating the existence of storage #30405

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rjl493456442
Copy link
Member

WIP

@amin1419
Copy link

amin1419 commented Sep 6, 2024

e8f7f5f

Comment on lines +216 to +219
// Note, the slot is regarded as existent even they are marked as deleted,
// specifically the value is [32]byte{}, as there is no delete notion in verkle
// world anymore and the deletions will be translated to a special marker
// writing ultimately.
Copy link
Contributor

Choose a reason for hiding this comment

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

If zeroes / deleted counts as existent, in verkle but not in mpt, then I think the high-level description of this operation (in the docstring) needs to be clarified. What are the semantics that we're supposed to deliver in this method?

Comment on lines +396 to +397
// StateExists returns the flag indicating whether the storage slot specified by
// address and storage key is existent.
Copy link
Contributor

Choose a reason for hiding this comment

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

here too, what does 'existent' mean, in mpt and verkle?

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.

3 participants