Skip to content
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

V2 contract testing #1032

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions contracts/src/core/EigenDABlobVerifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ contract EigenDABlobVerifier is IEigenDABlobVerifier {
blobVerificationProof,
nonSignerStakesAndSignature,
getDefaultSecurityThresholdsV2(),
quorumNumbersRequired()
blobVerificationProof.blobCertificate.blobHeader.quorumNumbers
Copy link
Contributor

Choose a reason for hiding this comment

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

it's already taking blobVerificationProof as input in L96, so looks like we could just reuse that in _verifyBlobV2ForQuorums

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes but I do want to leave this field in the internal function open such that the quorums you want to check against can be passed in separately from the proof

);
}

Expand All @@ -118,7 +118,7 @@ contract EigenDABlobVerifier is IEigenDABlobVerifier {
signedBatch,
blobVerificationProof,
getDefaultSecurityThresholdsV2(),
quorumNumbersRequired()
blobVerificationProof.blobCertificate.blobHeader.quorumNumbers
);
}

Expand Down
Loading