Add types for representing LC Merkle branches #6324
Labels
good first issue
Issues that are suitable for first-time contributors.
help wanted
The author indicates that additional help is wanted.
meta-feature-request
Issues to track feature requests.
scope-light-clients
All issues regarding light client development.
Add named ssz types introduced in ethereum/consensus-specs#3563 for representing LC Merkle branches.
FinalityBranch
Vector[Bytes32, floorlog2(FINALIZED_ROOT_GINDEX)]
finalized_checkpoint.root
withinBeaconState
CurrentSyncCommitteeBranch
Vector[Bytes32, floorlog2(CURRENT_SYNC_COMMITTEE_GINDEX)]
current_sync_committee
withinBeaconState
NextSyncCommitteeBranch
Vector[Bytes32, floorlog2(NEXT_SYNC_COMMITTEE_GINDEX)]
next_sync_committee
withinBeaconState
ExecutionBranch
Vector[Bytes32, floorlog2(EXECUTION_PAYLOAD_GINDEX)]
execution_payload
withinBeaconBlockBody
The types should be added and exported as part of
@lodestar/types
packagelodestar/packages/types/src/altair/sszTypes.ts
Line 206 in 8cc5f04
lodestar/packages/types/src/capella/sszTypes.ts
Line 209 in 8cc5f04
The text was updated successfully, but these errors were encountered: