Skip to content

Commit

Permalink
Merge pull request #130 from migalabs/fix/capella-blocks-download-cra…
Browse files Browse the repository at this point in the history
…shing

Fix/capella blocks download crashing
  • Loading branch information
santi1234567 committed Sep 3, 2024
2 parents 8425e33 + 42aaf03 commit 3387cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/spec/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func NewCapellaBlock(block spec.VersionedSignedBeaconBlock) AgnosticBlock {
GasLimit: block.Capella.Message.Body.ExecutionPayload.GasLimit,
GasUsed: block.Capella.Message.Body.ExecutionPayload.GasUsed,
Timestamp: block.Capella.Message.Body.ExecutionPayload.Timestamp,
BaseFeePerGas: binary.BigEndian.Uint64(block.Bellatrix.Message.Body.ExecutionPayload.BaseFeePerGas[:]),
BaseFeePerGas: binary.BigEndian.Uint64(block.Capella.Message.Body.ExecutionPayload.BaseFeePerGas[:]),
BlockHash: block.Capella.Message.Body.ExecutionPayload.BlockHash,
Transactions: block.Capella.Message.Body.ExecutionPayload.Transactions,
BlockNumber: block.Capella.Message.Body.ExecutionPayload.BlockNumber,
Expand Down

0 comments on commit 3387cd4

Please sign in to comment.