Skip to content

Commit

Permalink
Clean up cert verifier changes
Browse files Browse the repository at this point in the history
Signed-off-by: litt3 <102969658+litt3@users.noreply.github.com>
  • Loading branch information
litt3 committed Jan 24, 2025
1 parent 737cb19 commit 501a2d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/clients/v2/verification/cert_verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var _ ICertVerifier = &CertVerifier{}

// NewCertVerifier constructs a CertVerifier
func NewCertVerifier(
ethClient geth.EthClient, // the eth client, which should already be set up
ethClient geth.EthClient, // the eth client, which should already be set up
certVerifierAddress string, // the hex address of the EigenDACertVerifier contract
) (*CertVerifier, error) {

Expand Down Expand Up @@ -110,9 +110,9 @@ func (cv *CertVerifier) VerifyCertV2(
return nil
}

// GetNonSignerStakesAndSignature calls the getNonSignerStakesAndSignature view function on the EigenDABlobVerifier
// GetNonSignerStakesAndSignature calls the getNonSignerStakesAndSignature view function on the EigenDACertVerifier
// contract, and returns the resulting NonSignerStakesAndSignature object.
func (v *CertVerifier) GetNonSignerStakesAndSignature(
func (cv *CertVerifier) GetNonSignerStakesAndSignature(
ctx context.Context,
signedBatch *disperser.SignedBatch,
) (*verifierBindings.NonSignerStakesAndSignature, error) {
Expand All @@ -122,7 +122,7 @@ func (v *CertVerifier) GetNonSignerStakesAndSignature(
return nil, fmt.Errorf("convert signed batch: %s", err)
}

nonSignerStakesAndSignature, err := v.certVerifierCaller.GetNonSignerStakesAndSignature(
nonSignerStakesAndSignature, err := cv.certVerifierCaller.GetNonSignerStakesAndSignature(
&bind.CallOpts{Context: ctx},
*signedBatchBinding)

Expand Down

0 comments on commit 501a2d3

Please sign in to comment.