Skip to content

fix: decompress panic#4

Merged
ax0 merged 1 commit intomainfrom
feat/decompress-no-panic
Sep 17, 2025
Merged

fix: decompress panic#4
ax0 merged 1 commit intomainfrom
feat/decompress-no-panic

Conversation

@ed255
Copy link
Collaborator

@ed255 ed255 commented Sep 16, 2025

The decompress method panics when the public inputs are invalid because it derives query indices from them and uses them to access a HashMap with the index operator.
By using the get method we return an error instead.

@ed255 ed255 requested a review from ax0 September 16, 2025 15:33
Copy link
Collaborator

@ax0 ax0 left a comment

Choose a reason for hiding this comment

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

LGTM!

@ax0 ax0 merged commit 109d517 into main Sep 17, 2025
5 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.

2 participants