Skip to content
This repository was archived by the owner on Sep 8, 2026. It is now read-only.

Tests: parse program logs and tx batching - #264

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

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

Conversation

@RedaRahmani

Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant