fix: bump light-event to 0.23.1 (upstream OOB panic fix)#341
Merged
Conversation
0a368c4 to
4d5a676
Compare
Bumps all light-* dependencies to compatible versions: - light-event: 0.21 -> 0.23.1 (includes OOB panic fix) - light-concurrent-merkle-tree: 4 -> 5 - light-batched-merkle-tree: 0.10 -> 0.11 - light-merkle-tree-metadata: 0.10 -> 0.11 - light-compressed-account: 0.10.1 -> 0.11 - light-indexed-merkle-tree: 4 -> 5 - light-token-interface: 0.4 -> 0.5 - light-sdk-types: 0.20 -> 0.23 Fixes the index-out-of-bounds panic in create_nullifier_queue_indices() that halted both pitt and fra ingestors at slot 407265370. Upstream fix: Lightprotocol/light-protocol#2353 cargo check passes.
4d5a676 to
dd6e01e
Compare
cbpodd
approved these changes
Mar 18, 2026
pmantica11
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Both pitt and fra Photon ingestors are stuck at slot 407265370 due to an index-out-of-bounds panic in
light-eventv0.21.0 (create_nullifier_queue_indices).Root Cause
Bug in
light-eventcrate:create_nullifier_queue_indices()sizes a vec to the filteredbatch_input_accountscount but iterates over allinput_compressed_accountsby index, causing a panic when the two counts differ.Upstream fix: Lightprotocol/light-protocol#2353
Fix
Bump
light-eventfrom"0.21"to"0.24"inCargo.toml.light-event0.24.0 is published to crates.io. The upstream PR removes the buggycreate_nullifier_queue_indicesandcreate_address_queue_indicesfunctions entirely, inlining queue index assignment into the construction loop.Deploy
Once the crate is published: