Skip to content

Commit

Permalink
Double OCR timeouts config
Browse files Browse the repository at this point in the history
  • Loading branch information
DeividasK committed Nov 26, 2024
1 parent c366f08 commit c9c9228
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions e2e/tests/workflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,22 +189,22 @@ func generateOCR3Config(

// Generate OCR3 configuration arguments for testing
signers, transmitters, f, onchainConfig, offchainConfigVersion, offchainConfig, err := ocr3confighelper.ContractSetConfigArgsForTests(
10*time.Second, // DeltaProgress: Time between rounds
10*time.Second, // DeltaResend: Time between resending unconfirmed transmissions
10*time.Second, // DeltaInitial: Initial delay before starting the first round
3*time.Second, // DeltaRound: Time between rounds within an epoch
500*time.Millisecond, // DeltaGrace: Grace period for delayed transmissions
2*time.Second, // DeltaCertifiedCommitRequest: Time between certified commit requests
30*time.Second, // DeltaStage: Time between stages of the protocol
20*time.Second, // DeltaProgress: Time between rounds
20*time.Second, // DeltaResend: Time between resending unconfirmed transmissions
20*time.Second, // DeltaInitial: Initial delay before starting the first round
6*time.Second, // DeltaRound: Time between rounds within an epoch
1*time.Second, // DeltaGrace: Grace period for delayed transmissions
4*time.Second, // DeltaCertifiedCommitRequest: Time between certified commit requests
60*time.Second, // DeltaStage: Time between stages of the protocol
uint64(10), // MaxRoundsPerEpoch: Maximum number of rounds per epoch
transmissionSchedule, // TransmissionSchedule: Transmission schedule
oracleIdentities, // Oracle identities with their public keys
nil, // Plugin config (empty for now)
&maxDurationInitialization, // MaxDurationInitialization: ???
2*time.Second, // MaxDurationQuery: Maximum duration for querying
2*time.Second, // MaxDurationObservation: Maximum duration for observation
2*time.Second, // MaxDurationAccept: Maximum duration for acceptance
2*time.Second, // MaxDurationTransmit: Maximum duration for transmission
4*time.Second, // MaxDurationQuery: Maximum duration for querying
4*time.Second, // MaxDurationObservation: Maximum duration for observation
4*time.Second, // MaxDurationAccept: Maximum duration for acceptance
4*time.Second, // MaxDurationTransmit: Maximum duration for transmission
1, // F: Maximum number of faulty oracles
nil, // OnChain config (empty for now)
)
Expand Down

0 comments on commit c9c9228

Please sign in to comment.