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

Add timeout to proof generation, and enable cancelling proofs #80

Merged
merged 4 commits into from
Dec 4, 2023

Conversation

norswap
Copy link
Member

@norswap norswap commented Dec 4, 2023

The former is necessary, as sometimes proof generation will run forever (I believe this is a snag in snarkjs), while the later is just good practice, right now cancelling has no effect but to dismiss a modal that will come back later.

Note that this is the only time we currently are able (i.e. that we implemented) to meaningfully cancel an action. Cancelling at other times (e.g. when sending transactions) will simply cause the modal to be dismissed and to come back later (or the action to complete). We need to implement this too.

@norswap norswap merged commit cc39321 into master Dec 4, 2023
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.

1 participant