From 30d82125cbf868df5039c60a5549573cc8cc1022 Mon Sep 17 00:00:00 2001 From: jonny rhea <5555162+jrhea@users.noreply.github.com> Date: Wed, 4 Mar 2026 12:14:58 -0600 Subject: [PATCH] adjust comments and whitespace --- eth/catalyst/simulated_beacon.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eth/catalyst/simulated_beacon.go b/eth/catalyst/simulated_beacon.go index 55f93aaff0..8a77cd8abe 100644 --- a/eth/catalyst/simulated_beacon.go +++ b/eth/catalyst/simulated_beacon.go @@ -198,10 +198,9 @@ func (c *SimulatedBeacon) sealBlock(withdrawals []*types.Withdrawal, timestamp u version := payloadVersion(c.eth.BlockChain().Config(), timestamp) tracer := otel.Tracer("") - // Create a server span for forkchoiceUpdated with payload attributes, - // simulating an incoming engine API request from a real consensus client. var random [32]byte rand.Read(random[:]) + attribute := &engine.PayloadAttributes{ Timestamp: timestamp, SuggestedFeeRecipient: feeRecipient, @@ -213,6 +212,9 @@ func (c *SimulatedBeacon) sealBlock(withdrawals []*types.Withdrawal, timestamp u slotNumber := uint64(0) attribute.SlotNumber = &slotNumber } + + // Create a server span for forkchoiceUpdated with payload attributes, + // simulating an incoming engine API request from a real consensus client. fcCtx, fcSpanEnd := telemetry.StartServerSpan(context.Background(), tracer, telemetry.RPCInfo{ System: "jsonrpc", Service: "engine",