Skip to content

Conversation

@oooLowNeoNooo
Copy link

Fix double counting of invalid batches in batch decoder fetch logic

The invalidBatchCount was being incremented twice for transactions with
invalid senders:

  1. First increment on line 103 when detecting invalid sender
  2. Second increment on line 164 in the final validation check

This caused transactions with invalid senders to be counted twice in the
invalid batch statistics, leading to incorrect reporting of batch
validation results.

@oooLowNeoNooo oooLowNeoNooo requested review from a team as code owners September 17, 2025 16:42
@opgitgovernance opgitgovernance added the S-stale Status: Will be closed unless there is activity label Oct 1, 2025
@opgitgovernance
Copy link
Contributor

This pr has been automatically marked as stale and will be closed in 5 days if no updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-stale Status: Will be closed unless there is activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants