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

Samlaf avs 559 setup integration test for bls agg #277

Merged
merged 9 commits into from
Jun 28, 2024

Conversation

samlaf
Copy link
Collaborator

@samlaf samlaf commented Jun 20, 2024

Fixes # .

What Changed?

Created one integration test for a single quorum.
We'll be able to use this scaffold to augment this to 2 quorums and fix #261 (AVS-494)

Reviewer Checklist

  • Code is well-documented
  • Code adheres to Go naming conventions
  • Code deprecates any old functionality before removing it

})

t.Run("2 quorums 1 operator", func(t *testing.T) {
// TODO: Implement this test
Copy link
Collaborator

Choose a reason for hiding this comment

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

this will come as a separate PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes. there's another issue for it

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@@ -761,6 +773,126 @@ func TestBlsAgg(t *testing.T) {
})
}

func TestIntegrationBlsAgg(t *testing.T) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This test is unreadable. unclear what's happening: probably better to divide/refactor

  • setup
  • what is actually being tested
  • add comments maybe?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

refactored in ba79798. Check now, hopefully its easier to read :D

@samlaf samlaf force-pushed the samlaf-avs-559-setup-integration-test-for-bls-agg branch from ba79798 to 8af5916 Compare June 27, 2024 02:07
@samlaf samlaf force-pushed the samlaf-avs-559-setup-integration-test-for-bls-agg branch from 8af5916 to 78ca745 Compare June 28, 2024 04:45
@samlaf samlaf merged commit cc3b8d2 into dev Jun 28, 2024
4 checks passed
@samlaf samlaf deleted the samlaf-avs-559-setup-integration-test-for-bls-agg branch June 28, 2024 05:30
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.

AVS DevX: Go SDK bls aggregation service doesn't support >1 quorum
2 participants