Skip to content

Commit

Permalink
its a bet
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear committed Jun 7, 2024
1 parent 7226535 commit 0db8014
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mod/beacon/blockchain/receive.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (s *Service[
ctx,
engineprimitives.BuildForkchoiceUpdateRequest(
&engineprimitives.ForkchoiceStateV1{
HeadBlockHash: lph.GetParentHash(),
HeadBlockHash: lph.GetBlockHash(),
SafeBlockHash: lph.GetParentHash(),
FinalizedBlockHash: lph.GetParentHash(),
},
Expand Down
6 changes: 6 additions & 0 deletions mod/beacon/validator/propose.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0db8014

Please sign in to comment.