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

Update signature aggregation test #322

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

ian-shim
Copy link
Contributor

@ian-shim ian-shim commented Mar 6, 2024

Why are these changes needed?

This PR refactors chain data mock to be more flexible and handle multiple quorums, and adds few more test cases for signature aggregation

Checks

  • I've made sure the lint is passing in this PR.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, in that case, please comment that they are not relevant.
  • Testing Strategy
    • Unit tests
    • Integration tests
    • This PR is not tested :(

@ian-shim ian-shim force-pushed the aggregation-quorum branch 3 times, most recently from a8b0960 to 052e86f Compare March 7, 2024 02:10
@ian-shim ian-shim requested review from mooselumph and jianoaix March 7, 2024 02:31
@ian-shim ian-shim marked this pull request as ready for review March 7, 2024 02:31
Copy link
Contributor

@jianoaix jianoaix left a comment

Choose a reason for hiding this comment

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

lgtm

core/mock/state.go Outdated Show resolved Hide resolved
@ian-shim ian-shim force-pushed the aggregation-quorum branch from 052e86f to f433e3c Compare March 8, 2024 17:53
core/assignment.go Outdated Show resolved Hide resolved
StartIndex: 4,
NumChunks: 2,
mock.MakeOperatorId(2): {
StartIndex: 3,
Copy link
Collaborator

Choose a reason for hiding this comment

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

What were these changes for, just out of curiosity? Not transparent to me.

core/mock/state.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@mooselumph mooselumph left a comment

Choose a reason for hiding this comment

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

A couple issues with the chain state mock.

@ian-shim ian-shim force-pushed the aggregation-quorum branch from a63f5c4 to 4beb492 Compare April 9, 2024 03:59
@ian-shim ian-shim requested review from mooselumph and jianoaix April 9, 2024 03:59
@ian-shim ian-shim force-pushed the aggregation-quorum branch from 4beb492 to 59f5af6 Compare April 9, 2024 04:04
Copy link
Collaborator

@mooselumph mooselumph left a comment

Choose a reason for hiding this comment

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

looks good!

@ian-shim ian-shim merged commit 1a2a591 into Layr-Labs:master Apr 9, 2024
5 checks passed
bxue-l2 pushed a commit to bxue-l2/eigenda that referenced this pull request Apr 11, 2024
bxue-l2 pushed a commit to bxue-l2/eigenda that referenced this pull request Apr 11, 2024
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