-
Notifications
You must be signed in to change notification settings - Fork 112
refactor: singleton cv combining ECDSA and BN254 #479
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
Conversation
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.
Looks great
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.
Thoughts on separating out the interfaces, and then combining into one global ICertificateVerifier
|
||
/* BN254 CERTIFICATE VERIFIER INTERFACE */ | ||
|
||
/** |
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.
No ejection?
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.
Imo, less confusing if its one interface for a single contract but not too opposed |
**Motivation:** Redesigning to have a singleton CertificateVerifier that is deployed per destination chain where the AVSs utilizing this contract trust the `globalOperatorTableRoot` is valid and the EigenDA operatorSet which configures this in a timely basis. **Modifications:** - Combined the ECDSACertificateVerifier and the BN254CertificateVerifier interfaces into CertificateVerifier. - OperatorSet configuration parameters are now configured on the L1 via a `CrossChainRegistry` contract and transported by the following functions. - `ICertificateVerifier.updateECDSAOperatorTable` or `ICertificateVerifier.updateBN254OperatorTable` **Result:** Standarizing interface with a canonical CertVerifier contract and less deployment duplication from AVSs.
Motivation:
Redesigning to have a singleton CertificateVerifier that is deployed per destination chain where the AVSs utilizing this contract trust the
globalOperatorTableRoot
is valid and the EigenDA operatorSet which configures this in a timely basis.Modifications:
CrossChainRegistry
contract and transported by the following functions.ICertificateVerifier.updateECDSAOperatorTable
orICertificateVerifier.updateBN254OperatorTable
Result:
Standarizing interface with a canonical CertVerifier contract and less deployment duplication from AVSs.