Skip to content
4 changes: 2 additions & 2 deletions pkg/spec/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func NewBellatrixBlock(block spec.VersionedSignedBeaconBlock) AgnosticBlock {
GasLimit: block.Bellatrix.Message.Body.ExecutionPayload.GasLimit,
GasUsed: block.Bellatrix.Message.Body.ExecutionPayload.GasUsed,
Timestamp: block.Bellatrix.Message.Body.ExecutionPayload.Timestamp,
BaseFeePerGas: binary.BigEndian.Uint64(block.Bellatrix.Message.Body.ExecutionPayload.BaseFeePerGas[:]),
BaseFeePerGas: binary.LittleEndian.Uint64(block.Bellatrix.Message.Body.ExecutionPayload.BaseFeePerGas[:]),
BlockHash: block.Bellatrix.Message.Body.ExecutionPayload.BlockHash,
Transactions: block.Bellatrix.Message.Body.ExecutionPayload.Transactions,
BlockNumber: block.Bellatrix.Message.Body.ExecutionPayload.BlockNumber,
Expand Down Expand Up @@ -297,7 +297,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.Capella.Message.Body.ExecutionPayload.BaseFeePerGas[:]),
BaseFeePerGas: binary.LittleEndian.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