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

fix: don't panic if channel was intentionally closed #198

Merged
merged 2 commits into from
Jun 16, 2021

Conversation

vmx
Copy link

@vmx vmx commented Jun 15, 2021

The channel messages are sent to might have been intentionally been
closed. Don't error if that is the case.

Closes #197.

The channel messages are sent to might have been intentionally been
closed. Don't error if that is the case.

Closes #197.
@vmx vmx requested review from nikkolasg and cryptonemo June 15, 2021 13:39
@vmx
Copy link
Author

vmx commented Jun 15, 2021

@nikkolasg is that a correct fix, or shouldn't merge calls happen after it it is invalidated?

Copy link
Collaborator

@cryptonemo cryptonemo 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

@cryptonemo
Copy link
Collaborator

@nikkolasg Please review as welll

@nikkolasg
Copy link

Am currently in discussion with @vmx : I dont believe this correctly fixes the issue.

Copy link

@nikkolasg nikkolasg left a comment

Choose a reason for hiding this comment

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

Approving in advance. We have discussed and searched with VMX a lot this afternoon, he finally found the underlying issue. We agreed that he will comment on it and we move forward with this solution, which is still a bandaid but should fix the issue. Later on, a proper re-factoring of this accumulator piece should be done.

@vmx
Copy link
Author

vmx commented Jun 16, 2021

I've opened an issue for tracking future improvements that contains the information I gathered today: #199

@vmx vmx merged commit 33acfc0 into master Jun 16, 2021
@vmx vmx deleted the two-threads-aggregation-test-fix branch June 16, 2021 16:28
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.

test_groth16_aggregation fails when run with 2 threads
3 participants