added FCU hash on proposing (#4193)

This commit is contained in:
Giulio rebuffo 2022-05-18 09:40:41 +02:00 committed by GitHub
parent 78f1d01a82
commit 1e3ad39202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -518,8 +518,11 @@ func (s *EthBackendServer) EngineForkChoiceUpdatedV1(ctx context.Context, req *r
// successfully assembled the payload and assigned the correct id
return &remote.EngineForkChoiceUpdatedReply{
PayloadStatus: &remote.EnginePayloadStatus{Status: remote.EngineStatus_VALID},
PayloadId: s.payloadId,
PayloadStatus: &remote.EnginePayloadStatus{
Status: remote.EngineStatus_VALID,
LatestValidHash: gointerfaces.ConvertHashToH256(headHash),
},
PayloadId: s.payloadId,
}, nil
}