-
Notifications
You must be signed in to change notification settings - Fork 388
feat(operator): DisabledVerifiers
Retries
#1434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: staging
Are you sure you want to change the base?
Conversation
DisabledVerifeirs
RetriesDisabledVerifiers
Retries
7e896b1
to
59d1c5e
Compare
respondToTaskV2Config := retry.DefaultRetryConfig() | ||
respondToTaskV2Config.MaxNumRetries = 0 | ||
respondToTaskV2Config.MaxElapsedTime = 0 | ||
|
||
// Set Retry config for WaitForTxRetryable | ||
waitForTxConfig := retry.DefaultRetryConfig() | ||
waitForTxConfig.MaxInterval = 2 * time.Second | ||
waitForTxConfig.MaxNumRetries = 0 | ||
waitForTxConfig.MaxElapsedTime = timeToWaitBeforeBump |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't the MaxNumRetries = 0
mean these won't retry?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was additional logic added to the retry functions that in the case of 0 retries the function retries indefinitely. This needs to be merged with main we moved these parameters to separate config functions.
Add Retry Logic to
DisabledVerifiers
Description
#closes 1415
How to test
In devnet
make anvil_start_with_block_time
make aggregator_start
make operator_full_registration CONFIG_FILE=config-files/config-operator-1.yaml
make operator_start CONFIG_FILE=config-files/config-operator-1.yaml
make batcher_start_local
make telemetry_full_start
Once you have the system running, send proofs
make batcher_send_burst_groth16
http://localhost:16686/search
Type of change
Checklist