Skip to content

Fix records encoding #3007

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

Merged
merged 2 commits into from
Sep 9, 2024
Merged

Fix records encoding #3007

merged 2 commits into from
Sep 9, 2024

Conversation

nazar-pc
Copy link
Member

@nazar-pc nazar-pc commented Sep 7, 2024

In some of the refactorings a check was done incorrectly in the plotting code that resulted in some sectors being plotted incorrectly.

The reason is that only one byte was checked even though the source was the result of XOR and it was possible for valid chunk to have all bits set in the last byte as well.

To smooth the impact of this I implemented scheduling of the sector for replotting when proving error is detected, such that farmer will slowly start fixing itself over time.

This issue was discovered as part of GPU plotting implementation when some of the plotting outputs were not matching expectations.

Code contributor checklist:

Copy link
Member

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

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

Nice fix!

@nazar-pc nazar-pc added this pull request to the merge queue Sep 9, 2024
Merged via the queue into main with commit 7b69fc7 Sep 9, 2024
9 checks passed
@nazar-pc nazar-pc deleted the fix-records-encoding branch September 9, 2024 08:46
@nazar-pc nazar-pc mentioned this pull request Sep 12, 2024
1 task
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