Skip to content

Tests: parse program logs and tx batching#264

Open
RedaRahmani wants to merge 2 commits intodoublezerofoundation:mainfrom
RedaRahmani:tests/parse-program-logs-and-tx-batching
Open

Tests: parse program logs and tx batching#264
RedaRahmani wants to merge 2 commits intodoublezerofoundation:mainfrom
RedaRahmani:tests/parse-program-logs-and-tx-batching

Conversation

@RedaRahmani
Copy link
Contributor

Summary of Changes

This PR adds unit tests around two critical behaviors:

  • validator-debt: tests parse_program_logs so we correctly mark payments as failed when line 5 contains “Merkle leaf” or “Insufficient funds”, and succeed otherwise (including short/None logs).

  • solana-client-tools: tests transaction batching to ensure no instructions are dropped, order is preserved, batches fit Solana packet size, and a CU-limit instruction is added (with correct CU math in the single-batch case). Also uses PACKET_DATA_SIZE for the size limit helper.

@RedaRahmani RedaRahmani changed the title Tests/parse program logs and tx batching Tests: parse program logs and tx batching Feb 13, 2026
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.

1 participant