Skip to content

implement eip 7864 #535

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

Draft
wants to merge 8 commits into
base: kaustinen-with-shapella
Choose a base branch
from
Draft

implement eip 7864 #535

wants to merge 8 commits into from

Conversation

gballet
Copy link
Owner

@gballet gballet commented Mar 28, 2025

This PR is against verkle for now, to make it easier to review and while the verkle code is being merged into geth's master.

Notes:

  • It still uses the direct writes
  • It's very unoptimized, only targetting correctness at the moment (no efficient storage, paths have one bit per byte, ...)
  • It's untested
  • The migration part removes the batching

@@ -86,133 +54,6 @@ func newBranchKey(addr []byte, treeIndex *uint256.Int) branchKey {
return sk
}

func (kvm *keyValueMigrator) addStorageSlot(addr []byte, slotNumber []byte, slotValue []byte) {
Copy link
Owner Author

Choose a reason for hiding this comment

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

deleted the batching computation, it can definitely be done as a later optimization but it's overkill for now.

}
return nil
}
// XXX il faut vérifier si c'est un stemnode et aussi faire le resolve
Copy link
Owner Author

Choose a reason for hiding this comment

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

oops, it's missing the stemnode resolution

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.

1 participant