-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correct issues where log events would not run correctly
- Loading branch information
1 parent
0a8a950
commit 094a966
Showing
5 changed files
with
116 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
"node": { | ||
"totalNodeCount": 4, | ||
"maxNodeServiceWorkers": 100, | ||
"maxNodeServiceQueueSize": 1000 | ||
}, | ||
"p2pNetwork": { | ||
"avgLatency": "100ms" | ||
}, | ||
"rpc": { | ||
"maxBlockDelay": 600, | ||
"averageLatency": 300, | ||
"errorRate": 0.02, | ||
"rateLimitThreshold": 1000 | ||
}, | ||
"blocks": { | ||
"genesisBlock": 128943862, | ||
"blockCadence": "1s", | ||
"durationInBlocks": 60, | ||
"endPadding": 20 | ||
}, | ||
"events": [ | ||
{ | ||
"type": "ocr3config", | ||
"triggerBlockNumber": 128943863, | ||
"comment": "initial ocr config (valid)", | ||
"maxFaultyNodes": 1, | ||
"encodedOffchainConfig": "{\"version\":\"v3\",\"performLockoutWindow\":100000,\"targetProbability\":\"0.999\",\"targetInRounds\":4,\"minConfirmations\":1,\"gasLimitPerReport\":1000000,\"gasOverheadPerUpkeep\":300000,\"maxUpkeepBatchSize\":10}", | ||
"maxRoundsPerEpoch": 7, | ||
"deltaProgress": "10s", | ||
"deltaResend": "10s", | ||
"deltaInitial": "300ms", | ||
"deltaRound": "1100ms", | ||
"deltaGrace": "300ms", | ||
"deltaCertifiedCommitRequest": "200ms", | ||
"deltaStage": "20s", | ||
"maxQueryTime": "50ms", | ||
"maxObservationTime": "100ms", | ||
"maxShouldAcceptTime": "50ms", | ||
"maxShouldTransmitTime": "50ms" | ||
}, | ||
{ | ||
"type": "generateUpkeeps", | ||
"triggerBlockNumber": 128943862, | ||
"comment": "single log triggered upkeep", | ||
"count": 1, | ||
"startID": 300, | ||
"eligibilityFunc": "always", | ||
"upkeepType": "logTrigger", | ||
"logTriggeredBy": "test_trigger_event" | ||
}, | ||
{ | ||
"type": "generateUpkeeps", | ||
"triggerBlockNumber": 128943864, | ||
"comment": "5 log triggered upkeeps", | ||
"count": 5, | ||
"startID": 400, | ||
"eligibilityFunc": "always", | ||
"upkeepType": "logTrigger", | ||
"logTriggeredBy": "test_trigger_event" | ||
}, | ||
{ | ||
"type": "logTrigger", | ||
"triggerBlockNumber": 128943872, | ||
"comment": "trigger 10 blocks after trigger upkeep created", | ||
"triggerValue": "test_trigger_event" | ||
}, | ||
{ | ||
"type": "generateUpkeeps", | ||
"triggerBlockNumber": 128943878, | ||
"comment": "7 log triggered upkeeps", | ||
"count": 7, | ||
"startID": 500, | ||
"eligibilityFunc": "always", | ||
"upkeepType": "logTrigger", | ||
"logTriggeredBy": "test_trigger_event" | ||
}, | ||
{ | ||
"type": "logTrigger", | ||
"triggerBlockNumber": 128943882, | ||
"comment": "trigger 10 blocks after trigger upkeep created", | ||
"triggerValue": "test_trigger_event" | ||
}, | ||
{ | ||
"type": "logTrigger", | ||
"triggerBlockNumber": 128943892, | ||
"comment": "trigger 10 blocks after trigger upkeep created", | ||
"triggerValue": "test_trigger_event" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters