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 Mar 13, 2023
1 parent e39fb06 commit c6cc3bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 h1:FtmdgXiUlNeRsoNMFlK
github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0=
github.com/flashbots/go-boost-utils v0.1.3-0.20220601182529-417a64679a5d h1:hoqkcRKMupXCWW38fDfvNcuIxl9eCAZrguw3dNCw+Qg=
github.com/flashbots/go-boost-utils v0.1.3-0.20220601182529-417a64679a5d/go.mod h1:v4f01OjPm5jFjzVhcJEKHLFZzX/yTeme9284Tbuah8s=
github.com/flashbots/go-boost-utils v0.1.3-0.20220602181853-0b5ffd891e10 h1:3fbCrMmSOayxCHNkIVUWLFR+q/dR1KeXUD08OXhShBM=
github.com/flashbots/go-boost-utils v0.1.3-0.20220602181853-0b5ffd891e10/go.mod h1:v4f01OjPm5jFjzVhcJEKHLFZzX/yTeme9284Tbuah8s=
github.com/flashbots/go-utils v0.4.4 h1:J0LUifVEpVYE+ZbK/DeGay4E3B6+Yh8pKLgfv5A0Oq0=
github.com/flashbots/go-utils v0.4.4/go.mod h1:weSbiNnH+xsmK8t3TDDJxluv4+qnwRWmKay2QQa8Yfc=
github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
Expand Down

0 comments on commit c6cc3bf

Please sign in to comment.