Skip to content

Commit

Permalink
Adjust base fee encoding (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruteri authored and avalonche committed Jul 6, 2023
1 parent 222af77 commit fe9a362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ func executableDataToExecutionPayload(data *beacon.ExecutableDataV1) *boostTypes
GasUsed: data.GasUsed,
Timestamp: data.Timestamp,
ExtraData: data.ExtraData,
BaseFeePerGas: [32]byte(common.BytesToHash(data.BaseFeePerGas.Bytes())),
BaseFeePerGas: *new(boostTypes.U256Str).FromBig(data.BaseFeePerGas),
BlockHash: [32]byte(data.BlockHash),
Transactions: transactionData,
}
Expand Down

0 comments on commit fe9a362

Please sign in to comment.