-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: resend failed certificate (#172)
- The `aggsender`is going to check periodically the status of certificates (`AggSender.CheckStatusCertificateInterval`) and rebuild certificate as soon as `InError`is detected. - To avoid spamming Agglayer implements a rate limiter - To avoid submit a certificate too close to end of a epoch avoid to send certificates after reaching a percentage of epoch. ## Configuration ``` [AggSender] CheckStatusCertificateInterval = "5m" ``` - Rate limit configuration: ``` [AggSender.MaxSubmitCertificateRate] NumRequests = 20 Interval = "1h" ``` It can be disabled setting `NumRequests` to 0 - Configuration of percentatge that we can't submit a new certificate to agglayer: ``` [AggSender] MaxEpochPercentageAllowedToSendCertificate=80 ``` A value of 0 or > 100 disable this check
- Loading branch information
1 parent
17dca96
commit cea7306
Showing
20 changed files
with
589 additions
and
42 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
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
Oops, something went wrong.