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

Upgrade wazero to v1.8.0 and add Close() method to the Calculator interface #23

Merged
merged 4 commits into from
Sep 13, 2024

Conversation

olomix
Copy link
Collaborator

@olomix olomix commented Sep 10, 2024

Upgrade wazero module to v1.8.0, that fixes #22 memory leak.

Add a method Close to Calculator interface. It calls the Close method on the underlying CalculatorImpl if one is supports optional io.Closer interface.

Minimum Go version was upgraded to 1.21 for witness/wazero module (as required by latest dependency). I did not change go.mod and brake building on older versions for other modules, but tests run only against 3 latest major versions from 1.21 to 1.23 for all witness modules.

… a method Close to Calculator interface. It calls the Close method on the underlying CalculatorImpl if one is supports optional io.Closer interface.
@olomix olomix merged commit ed1af0a into main Sep 13, 2024
8 checks passed
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.

Suspected memory leak with wazero.NewCircom2WZWitnessCalculator
2 participants