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: Fix bug in TimeEvent witness blocks parsing logic #486

Merged
merged 2 commits into from
Aug 16, 2024

Conversation

stbrody
Copy link
Collaborator

@stbrody stbrody commented Aug 16, 2024

No description provided.

@stbrody stbrody self-assigned this Aug 16, 2024
@stbrody stbrody requested review from nathanielc and a team as code owners August 16, 2024 17:36
@stbrody stbrody requested review from samika98 and removed request for a team August 16, 2024 17:36
Copy link

linear bot commented Aug 16, 2024

@@ -65,8 +64,7 @@ where
let block_bytes = car_blocks
.get(cid)
.ok_or_else(|| anyhow!("Time Event CAR data missing block for path index"))?;
blocks_in_path.push(block);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this was the bug. We pushed the block before we updated it, meaning we pushed the first block twice and dropped the last block

Copy link
Contributor

Choose a reason for hiding this comment

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

😨

@stbrody stbrody requested a review from dav1do August 16, 2024 20:22
@stbrody stbrody enabled auto-merge August 16, 2024 20:26
@stbrody stbrody added this pull request to the merge queue Aug 16, 2024
Merged via the queue into main with commit 551d339 Aug 16, 2024
5 checks passed
@stbrody stbrody deleted the time-event-rt-aes-310 branch August 16, 2024 20:58
@smrz2001 smrz2001 mentioned this pull request Aug 19, 2024
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.

3 participants