Skip to content

Conversation

@jorgecuesta
Copy link
Collaborator

  • Added support for parsing nested "application" JSON in _handleApplicationUnbondingBeginEvent to correctly handle missing operator addresses in events.
  • Introduced a helper function chunkArray to optimize batch balance queries.
  • Refactored balance querying logic in updateBalances to ensure scalability by splitting requests into manageable batches of 1000.
  • Improved error handling to better identify and process cases with missing or invalid data.

- Added support for parsing nested "application" JSON in _handleApplicationUnbondingBeginEvent to correctly handle missing operator addresses in events.
- Introduced a helper function `chunkArray` to optimize batch balance queries.
- Refactored balance querying logic in updateBalances to ensure scalability by splitting requests into manageable batches of 1000.
- Improved error handling to better identify and process cases with missing or invalid data.
@jorgecuesta jorgecuesta requested a review from Alann27 October 18, 2025 22:46
@jorgecuesta jorgecuesta self-assigned this Oct 18, 2025
@jorgecuesta jorgecuesta added the bug Something isn't working label Oct 18, 2025
@Alann27 Alann27 merged commit 4ec3a0d into main Oct 20, 2025
3 checks passed
@Alann27 Alann27 deleted the fix/balances-and-application-unbonding branch October 20, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants