Skip to content

Conversation

8sunyuan
Copy link
Collaborator

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.

@8sunyuan 8sunyuan changed the base branch from dev to release-dev/multichain May 16, 2025 16:15
Copy link
Contributor

@eigenmikem eigenmikem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great

Copy link
Collaborator

@ypatil12 ypatil12 left a 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 */

/**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No ejection?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@8sunyuan
Copy link
Collaborator Author

Thoughts on separating out the interfaces, and then combining into one global ICertificateVerifier

Imo, less confusing if its one interface for a single contract but not too opposed

@ypatil12 ypatil12 merged commit 60a6118 into release-dev/multichain May 19, 2025
5 checks passed
@ypatil12 ypatil12 deleted the refactor/singleton-cv branch May 19, 2025 17:51
ypatil12 pushed a commit that referenced this pull request Jul 10, 2025
**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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants