Skip to content

Commit 4500c1e

Browse files
authored
simulators/ethereum/engine: Send newPayload again on sync test (#625)
simulators/ethereum/engine: send newPayload again on sync test
1 parent 93bce1c commit 4500c1e

File tree

1 file changed

+4
-4
lines changed
  • simulators/ethereum/engine/suites/sync

1 file changed

+4
-4
lines changed

simulators/ethereum/engine/suites/sync/tests.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ func incrementalPostMergeSync(t *test.Env) {
197197
if !ok {
198198
t.Fatalf("FAIL (%s): TEST ISSUE - Payload not found: %d", t.TestName, i)
199199
}
200-
secondaryEngineTest.TestEngineNewPayloadV1(&payload)
201-
secondaryEngineTest.TestEngineForkchoiceUpdatedV1(&api.ForkchoiceStateV1{
202-
HeadBlockHash: payload.BlockHash,
203-
}, nil)
204200
for {
201+
secondaryEngineTest.TestEngineNewPayloadV1(&payload)
202+
secondaryEngineTest.TestEngineForkchoiceUpdatedV1(&api.ForkchoiceStateV1{
203+
HeadBlockHash: payload.BlockHash,
204+
}, nil)
205205
ctx, cancel := context.WithTimeout(t.TestContext, globals.RPCTimeout)
206206
defer cancel()
207207
b, err := secondaryEngine.BlockByNumber(ctx, nil)

0 commit comments

Comments
 (0)