diff --git a/core/services/relay/evm/capabilities/workflows/syncer/workflow_syncer_test.go b/core/services/relay/evm/capabilities/workflows/syncer/workflow_syncer_test.go index 3333c623b00..066e85e839f 100644 --- a/core/services/relay/evm/capabilities/workflows/syncer/workflow_syncer_test.go +++ b/core/services/relay/evm/capabilities/workflows/syncer/workflow_syncer_test.go @@ -108,8 +108,7 @@ func Test_EventHandlerStateSync(t *testing.T) { updateAllowedDONs(t, backendTH, wfRegistryC, []uint32{donID}, true) updateAuthorizedAddress(t, backendTH, wfRegistryC, []common.Address{backendTH.ContractsOwner.From}, true) - // The number of workflows should be greater than the workflow registry contracts pagination limit to ensure - // that the syncer will query the contract multiple times to get the full list of workflows + // Create some initial static state numberWorkflows := 20 for i := 0; i < numberWorkflows; i++ { var workflowID [32]byte @@ -203,8 +202,6 @@ func Test_EventHandlerStateSync(t *testing.T) { if numEvents == expectedNumEvents { // verify the events are the expected types in the expected order - // Note the below test does not work with the unrefactored workflow registry, event order is essentially - // random in the pre-refactored version for idx, event := range events { switch idx % 5 { case 0: