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

Spark runaway exceptions #1344

Merged
merged 6 commits into from
Nov 21, 2023
Merged

Spark runaway exceptions #1344

merged 6 commits into from
Nov 21, 2023

Conversation

psolstice
Copy link
Contributor

PR intention

In some cases low-level exceptions were able to leave lelantus/sigma in incorrect state. This PR prevents this behavior.

Code changes brief

Try/catch blocks are used

@psolstice psolstice changed the base branch from master to spark October 20, 2023 10:52
@reubenyap reubenyap merged commit 62fc651 into spark Nov 21, 2023
2 checks passed
@reubenyap reubenyap deleted the spark-runaway-exceptions branch November 21, 2023 08:48
@reubenyap reubenyap restored the spark-runaway-exceptions branch November 21, 2023 08:59
reubenyap added a commit that referenced this pull request Nov 21, 2023
reubenyap added a commit that referenced this pull request Nov 21, 2023
@justanwar justanwar deleted the spark-runaway-exceptions branch November 22, 2023 17:41
firstcryptoman pushed a commit that referenced this pull request Jan 15, 2024
* Avoid catch(...) when possible

* Add wrappers around major sigma/lelantus/spark calls to catch exceptions

* Catch exception thrown from CheckLelantusJMintTransaction

* Bug fix

* Fixed tests

* Disable failing elysium test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants