You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/multichain/destination/OperatorTableUpdater.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,7 @@ Confirms a new global table root by verifying a BN254 certificate signed by the
69
69
* Emits a `NewGlobalTableRoot` event
70
70
71
71
*Requirements*:
72
+
* The contract MUST NOT be paused for global root updates
72
73
* The `referenceTimestamp` MUST NOT be in the future
73
74
* The `referenceTimestamp` MUST be greater than `_latestReferenceTimestamp`
74
75
* The certificate's `messageHash` MUST match the expected EIP-712 hash
@@ -110,6 +111,7 @@ Updates an operator table by verifying its inclusion in a confirmed global table
110
111
* Calls `ecdsaCertificateVerifier.updateOperatorTable` with the decoded operator info
111
112
112
113
*Requirements*:
114
+
* The contract MUST NOT be paused for operator table updates
113
115
* The `globalTableRoot` MUST be valid (not disabled)
114
116
* The `referenceTimestamp` MUST be greater than the latest timestamp for the operator set
115
117
* The merkle proof MUST verify the operator table's inclusion in the global root
@@ -181,7 +183,7 @@ function disableRoot(
181
183
) external;
182
184
```
183
185
184
-
Disables a global table root, preventing further operator table updates against it. This function also prevents the `CertificateVerifier` from verifying certificates. The function is intended to prevent a malicious or invalid root from being used by downstream consumers.
186
+
Disables a global table root, preventing further operator table updates against it. This function also prevents the `CertificateVerifier` from verifying certificates. The function is intended to prevent a malicious or invalid root from being used by downstream consumers. Once a root is disabled, it cannot be re-enabled.
185
187
186
188
*Effects*:
187
189
* Sets `_isRootValid[globalTableRoot]` to `false`
@@ -217,4 +219,4 @@ Updates the operator table for the `generator` itself. This operatorSet is a ["s
217
219
218
220
*Requirements*:
219
221
* Caller MUST be the `owner`
220
-
* Meet all requirements in [`bn254CertificateVerifier.updateOperatorTable`](../destination/CertificateVerifier.md#updateoperatortable-1)
222
+
* Meet all requirements in [`bn254CertificateVerifier.updateOperatorTable`](../destination/CertificateVerifier.md#updateoperatortable-1)
0 commit comments