Skip to content

Commit 9c1168d

Browse files
committed
chore: bindings
1 parent 065eac3 commit 9c1168d

File tree

17 files changed

+45
-18
lines changed

17 files changed

+45
-18
lines changed

docs/multichain/destination/CertificateVerifier.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ The CertificateVerifier contracts are responsible for verifying certificates fro
2626

2727
Both verifiers implement staleness checks based on a `maxStalenessPeriod` to ensure certificates are not verified against outdated operator information.
2828

29-
**Note: Setting a max staleness period to 0 enables certificates to be confirmed against any `referenceTimestamp`. In addition, setting a `maxStalenessPeriod` that is greater than 0 and less than the frequency of table updates (daily on testnet, weekly on mainnet) can result in certificates be unable to be confirmed.**
29+
**Note: Setting a max staleness period to 0 enables certificates to be confirmed against any `referenceTimestamp`. In addition, setting a `maxStalenessPeriod` that is greater than 0 and less than the frequency of table updates (daily on testnet, weekly on mainnet) can result in certificates be unable to be confirmed.** See the [staleness period](#staleness-period) in the appendix for some examples.
30+
3031
---
3132

3233
## ECDSACertificateVerifier
@@ -472,3 +473,29 @@ flowchart TB
472473
N1 --> L2[[Leaf 2<br/>BN254OperatorInfo #2]]
473474
N1 --> L3[[Leaf 3<br/>BN254OperatorInfo #3]]
474475
```
476+
477+
---
478+
479+
## Appendix
480+
481+
### Staleness Period
482+
483+
For the below examples, let's assume that the operator table is updated on Day 1
484+
485+
#### Eg. 1: Normal Functioning
486+
Assume the the staleness period is 10 days and the `referenceTimestamp` of a certificate is Day 1.
487+
488+
1. Day 1: Table Updated
489+
2. Day 9: Certificate passes
490+
3. Day 10: Certificate passes
491+
4. Day 11: Certificate verification *fails*
492+
493+
#### Eg. 2: Low staleness period
494+
The operator table is updated every 10 days. The staleness period is 5 days. The `referenceTimestamp` of a certificate is Day 1.
495+
496+
1. Day 1: Table updated
497+
2. Day 2: Certificate passes
498+
3. Day 6: Certifiacte verification *fails*
499+
4. Day 7: A certificate is re-generated. However, even if the
500+
501+
Note that we cannot re-generate a certificate on Day 7

pkg/bindings/BN254CertificateVerifier/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/CrossChainRegistry/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/DelegationManager/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/ECDSACertificateVerifier/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/EigenPod/binding.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/EigenPodManager/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/EigenPodStorage/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/EigenStrategy/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/IEigenPod/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)