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: compression errror returns empty array #76

Merged
merged 3 commits into from
Oct 5, 2023

Conversation

fabianriewe
Copy link
Member

@fabianriewe fabianriewe commented Oct 5, 2023

This PR is fixing an issue where an error in the decompression process resulted in the function returning an empty array, which could be intentional or unintentional. This mismatch between the function return and the uploaded data would cause the node to vote invalid. We assume that initially, it was planned that the empty array would be handled separately but it was never implemented.

To address this, the function can now return an error, and if it does, the node will vote with abstain, preventing a slash and dropping the bundle.

cc @troykessler

@fabianriewe fabianriewe changed the title fix: compression errror returns array fix: compression errror returns empty array Oct 5, 2023
@christopherbrumm christopherbrumm merged commit b11a925 into main Oct 5, 2023
3 checks passed
@christopherbrumm christopherbrumm deleted the fix/compression-errror-returns-array branch October 5, 2023 14:13
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