Skip to content

Commit

Permalink
Merge pull request #29 from 0x00101010/feat/add-index-to-blob-sidecar
Browse files Browse the repository at this point in the history
Add blob sidecar index field
  • Loading branch information
cortze authored May 24, 2024
2 parents 2ecbf79 + 4ddf258 commit 2c3f62a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eth/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ func (p *PubSub) handleBlobSidecar(ctx context.Context, msg *pubsub.Message) err
"Seq": msg.GetSeqno(),
"Slot": slot,
"ValIdx": proposerIndex,
"index": blob.GetIndex(),
"TimeInSlot": now.Sub(slotStart).Seconds(),
"StateRoot": hexutil.Encode(blob.GetSignedBlockHeader().GetHeader().GetStateRoot()),
"BodyRoot": hexutil.Encode(blob.GetSignedBlockHeader().GetHeader().GetBodyRoot()),
Expand Down

0 comments on commit 2c3f62a

Please sign in to comment.