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

feat[verifyMixedAggregatedProof]: duplicateSubmissionIndices as bytes #91

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

re1ro
Copy link
Contributor

@re1ro re1ro commented Nov 21, 2024

  • verifyMixedAggregatedProof: passing duplicateSubmissionIndices as bytes

@re1ro re1ro self-assigned this Nov 21, 2024
// reading the lowest-order byte first (shifting below).
uint8 dupSubmissionIdx = uint8(duplicateSubmissionIndices);
// Interpret `duplicateSubmissionIndices` bytes as uint8s
uint256 dupSubmissionSlot;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we explicitly initialize to 0?

calldata,
proofIds,
aggProofParams.numOffChainProofs,
aggProofParams.submissionProofs,
packOffChainSubmissionMarkers(aggProofParams.offChainSubmissionMarkers),
packDupSubmissionIdxs(aggProofParams.dupSubmissionIdxs),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we remove this function from the SDK? (I may have missed the diff removing it)

@re1ro re1ro merged commit d24a356 into develop Nov 22, 2024
9 checks passed
@re1ro re1ro deleted the 1207-duplicate-submission-indices-bytes branch November 22, 2024 05:33
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.

2 participants