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

verkle trees: add 2 fields to ExecutionData #4681

Closed
gballet opened this issue Oct 21, 2022 · 3 comments
Closed

verkle trees: add 2 fields to ExecutionData #4681

gballet opened this issue Oct 21, 2022 · 3 comments
Labels
spec-electra 🦒 Issues targeting the Electra spec version

Comments

@gballet
Copy link

gballet commented Oct 21, 2022

With the verge, proofs and witness of the pre-state of an (EL) block execution are included in the blocks. In order to build a PoS testnet that provides proofs in blocks, it would be great if it were possible to create a branch with the required fields to be added to the ExecutionData.

The ExecutionData needs to have two more, optional fields:

  • VerkleProof, a byte array of variable length
  • VerkleKeyVals, an array of (key, value) pairs, in which the key is a 32-byte vector, and value is a byte vector of length either 0 (missing value) or 32.

At the moment, there is no need to support forking as for this testnet, verkle trees are used since the genesis.

If present, these two fields should be propagated over the network with the rest of the ExecutionData so that other clients can inject these fields in their verkle-enabled EL.

@dapplion
Copy link
Contributor

This looks doable, should be in some fork tho to fit our type system.

@gballet Will other clients build this ExecutionData on top of bellatrix, capella or eip4844 types? You should clarify the data structure to ensure interop

@gballet
Copy link
Author

gballet commented Oct 23, 2022 via email

@philknows philknows added the spec-electra 🦒 Issues targeting the Electra spec version label Mar 9, 2023
@dapplion
Copy link
Contributor

  • Closing issue since there exist a branch with this fix. We won't merge to unstable until considered for inclusion but Lodestar can join devnets now Implement verge spec feature #5164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec-electra 🦒 Issues targeting the Electra spec version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants