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

chore(sidecar): update constraint api #240

Merged
merged 3 commits into from
Sep 26, 2024
Merged

Conversation

namn-grg
Copy link
Contributor

This PR -

  • renames the constraints field to transactions
  • adds a test data generator for testing

Comment on lines 141 to 142
#[tokio::test]
async fn generate_test_data() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I understand why you created this test and it looks good, however I would suggest moving it out of the bls module. Not fully sure where yet, but here it's a bit confusing IMO

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah I agree. I think src/test_util.rs might be a good place? I just thought of keeping this because will be helpful in future

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sure, perfect

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@merklefruit merklefruit merged commit 107f098 into unstable Sep 26, 2024
2 checks passed
@merklefruit merklefruit deleted the naman/test-data branch September 26, 2024 10:06
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