good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 12829209 authored by Giulio Rebuffo's avatar Giulio Rebuffo Committed by GitHub
Browse files

fixed bug in proposing (#4184)

parent 23b648d7
No related branches found
No related tags found
No related merge requests found
...@@ -461,7 +461,7 @@ func (s *EthBackendServer) EngineForkChoiceUpdatedV1(ctx context.Context, req *r ...@@ -461,7 +461,7 @@ func (s *EthBackendServer) EngineForkChoiceUpdatedV1(ctx context.Context, req *r
// MUST NOT begin a payload build process if forkchoiceState.headBlockHash doesn't reference a leaf of the block tree // MUST NOT begin a payload build process if forkchoiceState.headBlockHash doesn't reference a leaf of the block tree
// (i.e. it references an old block). // (i.e. it references an old block).
// https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.6/src/engine/specification.md#specification-1 // https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.6/src/engine/specification.md#specification-1
if rawdb.ReadHeadBlockHash(tx1) == forkChoice.HeadBlockHash { if rawdb.ReadHeadBlockHash(tx1) == forkChoice.HeadBlockHash && req.PayloadAttributes == nil {
return &remote.EngineForkChoiceUpdatedReply{ return &remote.EngineForkChoiceUpdatedReply{
PayloadStatus: &remote.EnginePayloadStatus{Status: remote.EngineStatus_VALID}, PayloadStatus: &remote.EnginePayloadStatus{Status: remote.EngineStatus_VALID},
}, nil }, nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment