-
Notifications
You must be signed in to change notification settings - Fork 844
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
Renaming state trie account for verkle integration #7907
Renaming state trie account for verkle integration #7907
Conversation
Signed-off-by: Karim Taam <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, just the one comment about storageRoot in the abstract class
/** | ||
* The hash of the root of the storage trie associated with this account. | ||
* | ||
* @return the hash of the root node of the storage trie. | ||
*/ | ||
@Override | ||
public Hash getStorageRoot() { | ||
return Hash.EMPTY_TRIE_HASH; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be abstract, or even omitted in light of VerkleStateTrieAccountValue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for the moment it's returning EMPTY_TRIE_HASH because some generic code are still calling this method. I did some cleaning but it's not completly terminated . but in the future we will need to have it abstract indeed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems good to merge for now. we can revisit with the verkle branch merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR description
Idea of this PR is to prepare integration of verkle by doing a small renaming of the state trie account value class and creating an abstract class for the common part between verkle and pmt
Fixed Issue(s)
Thanks for sending a pull request! Have you done the following?
doc-change-required
label to this PR if updates are required.Locally, you can run these tests to catch failures early:
./gradlew build
./gradlew acceptanceTest
./gradlew integrationTest
./gradlew ethereum:referenceTests:referenceTests