From 0db80144b3789b80670cebc95a743a0da91bc48d Mon Sep 17 00:00:00 2001 From: itsdevbear Date: Fri, 7 Jun 2024 18:13:57 -0400 Subject: [PATCH] its a bet --- mod/beacon/blockchain/receive.go | 2 +- mod/beacon/validator/propose.go | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/mod/beacon/blockchain/receive.go b/mod/beacon/blockchain/receive.go index 9e1d498c56..86014a1b98 100644 --- a/mod/beacon/blockchain/receive.go +++ b/mod/beacon/blockchain/receive.go @@ -90,7 +90,7 @@ func (s *Service[ ctx, engineprimitives.BuildForkchoiceUpdateRequest( &engineprimitives.ForkchoiceStateV1{ - HeadBlockHash: lph.GetParentHash(), + HeadBlockHash: lph.GetBlockHash(), SafeBlockHash: lph.GetParentHash(), FinalizedBlockHash: lph.GetParentHash(), }, diff --git a/mod/beacon/validator/propose.go b/mod/beacon/validator/propose.go index 821fcf305a..eb48546476 100644 --- a/mod/beacon/validator/propose.go +++ b/mod/beacon/validator/propose.go @@ -270,6 +270,12 @@ func (s *Service[ return nil, err } + if err = s.localPayloadBuilder.SendForceHeadFCU( + ctx, st, blk.GetSlot(), + ); err != nil { + return nil, err + } + // If we failed to retrieve the payload, request a synchrnous payload. // // NOTE: The state here is properly configured by the