From ff97f768af3d33dac33f883b3757ed89a9b1cd0d Mon Sep 17 00:00:00 2001 From: devopsbo3 <69951731+devopsbo3@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:27:53 -0600 Subject: [PATCH] Revert "eth/catalyst: set random value in dev mode (#27940)" This reverts commit 12d3fe47059e104f20ef150dd51155f82d39d680. --- eth/catalyst/simulated_beacon.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/eth/catalyst/simulated_beacon.go b/eth/catalyst/simulated_beacon.go index 1f7a3266cd..daae2a7c0a 100644 --- a/eth/catalyst/simulated_beacon.go +++ b/eth/catalyst/simulated_beacon.go @@ -17,7 +17,6 @@ package catalyst import ( - "crypto/rand" "errors" "sync" "time" @@ -150,13 +149,10 @@ func (c *SimulatedBeacon) sealBlock(withdrawals []*types.Withdrawal) error { c.setCurrentState(header.Hash(), *finalizedHash) } - var random [32]byte - rand.Read(random[:]) fcResponse, err := c.engineAPI.ForkchoiceUpdatedV2(c.curForkchoiceState, &engine.PayloadAttributes{ Timestamp: tstamp, SuggestedFeeRecipient: feeRecipient, Withdrawals: withdrawals, - Random: random, }) if err != nil { return err