Skip to content

Commit

Permalink
working
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddy J committed Dec 1, 2023
1 parent 6c662d2 commit 8dbc2ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions beacon_constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,4 @@ const beaconStateMerkleSubtreeNumLayers = uint64(5)
const blockRootsMerkleSubtreeNumLayers = uint64(13)

// **************Number of fields of various containers**************
const BEACON_STATE_NUM_FIELDS = uint64(28)
const BEACON_BLOCK_HEADER_NUM_FIELDS = uint64(5)
const BEACON_BLOCK_BODY_NUM_FIELDS = uint64(11)
const EXECUTION_PAYLOAD_NUM_FIELDS = uint64(15)
const beaconBlockHeaderNumFields = uint64(5)
2 changes: 1 addition & 1 deletion proofs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ func GetExecutionPayloadFieldRoots(executionPayloadFields *capella.ExecutionPayl
}

func GetBlockHeaderFieldRoots(blockHeader *phase0.BeaconBlockHeader) ([]phase0.Root, error) {
blockHeaderContainerRoots := make([]phase0.Root, BEACON_BLOCK_HEADER_NUM_FIELDS)
blockHeaderContainerRoots := make([]phase0.Root, beaconBlockHeaderNumFields)

hh := ssz.NewHasher()

Expand Down

0 comments on commit 8dbc2ef

Please sign in to comment.