From cb8dd584480a81e8dc6d1ba59c4a8d50164ece51 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Tue, 13 Jan 2026 09:19:13 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Jonny Rhea <5555162+jrhea@users.noreply.github.com> --- beacon/engine/types.go | 4 ++-- eth/catalyst/api.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/beacon/engine/types.go b/beacon/engine/types.go index ebe10aca47..e12531fbac 100644 --- a/beacon/engine/types.go +++ b/beacon/engine/types.go @@ -52,10 +52,10 @@ var ( // fields: blobGasUsed and excessBlobGas. PayloadV3 PayloadVersion = 0x3 - // PayloadV4 is the identifier of ExecutionPayloadV3 introduced in amsterdam fork. + // PayloadV4 is the identifier of ExecutionPayloadV4 introduced in amsterdam fork. // // https://github.com/ethereum/execution-apis/blob/main/src/engine/amsterdam.md#executionpayloadv4 - // ExecutionPayloadV3 has the syntax of ExecutionPayloadV3 and appends the new + // ExecutionPayloadV4 has the syntax of ExecutionPayloadV3 and appends the new // field slotNumber. PayloadV4 PayloadVersion = 0x4 ) diff --git a/eth/catalyst/api.go b/eth/catalyst/api.go index 2f11f14f37..f6157a3fc9 100644 --- a/eth/catalyst/api.go +++ b/eth/catalyst/api.go @@ -797,7 +797,7 @@ func (api *ConsensusAPI) newPayload(params engine.ExecutableData, versionedHashe } slotnum := "nil" if params.SlotNumber != nil { - ebg = strconv.Itoa(int(*params.SlotNumber)) + slotnum = strconv.Itoa(int(*params.SlotNumber)) } log.Warn("Invalid NewPayload params", "params.Number", params.Number,