Skip to content

Conversation

@incrypto32
Copy link
Member

Subgraphs would stall when block cache is truncated because ancestor_block returned None when the requested ancestor wasn't in cache.

This PR adds RPC/Firehose fallback for ancestor_block logic

@fordN fordN requested a review from lutter January 8, 2026 16:47
When ancestor_block falls back to RPC due to cache deserialization failures,
fetch full blocks with receipts instead of light blocks. Empty receipts caused
missing block handler call triggers and log triggers.
@incrypto32
Copy link
Member Author

@lutter Integration cluster caught an issue i have updated the PR with the fix, i was using a Light Block for the rpc fall back for ancestor_block and was keeping an empty array for transaction_receipts, this was not right. So i've added a commit that uses the full block instead.

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