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 bug from PR 13827 #13871

Merged
merged 2 commits into from
Apr 11, 2024
Merged

Fix bug from PR 13827 #13871

merged 2 commits into from
Apr 11, 2024

Conversation

kasey
Copy link
Contributor

@kasey kasey commented Apr 11, 2024

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

PR #13827 introduced a bug where the data availability check will panic on blocks where some blobs are available locally, due to allocating a list that is too large when not all commitments need to be checked. This PR fixes that bug, adds some unit tests and tightens up some of the ROBlock/Blob constructor logic.

Thanks to @nalepae for noticing the panic in local testing and @prestonvanloon for identifying the fix.

@kasey kasey requested a review from a team as a code owner April 11, 2024 22:16
@kasey kasey added this pull request to the merge queue Apr 11, 2024
Merged via the queue into develop with commit 090a3e1 Apr 11, 2024
17 checks passed
@kasey kasey deleted the fix-sparse-availability-check branch April 11, 2024 23:48
nisdas pushed a commit that referenced this pull request Jul 4, 2024
* fix AS cache bug, tighten ro constructors

* additional coverage on AS cache filter

---------

Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
This pull request was closed.
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