Skip to content

solana: Add Cargo integration tests for standalone shim transceiver#728

Merged
nvsriram merged 20 commits intomainfrom
solana/add-shim-transceiver-cargo-tests
Nov 6, 2025
Merged

solana: Add Cargo integration tests for standalone shim transceiver#728
nvsriram merged 20 commits intomainfrom
solana/add-shim-transceiver-cargo-tests

Conversation

@nvsriram
Copy link
Copy Markdown
Contributor

@nvsriram nvsriram commented Oct 30, 2025

This PR adds:

  • Cargo integration tests for standalone shim transceiver
  • testing feature for ntt-transceiver that sets post message shim instruction data as return data. This is necessary because without an RPC running, simulateTransaction does not fill in the instruction data/logs — this acts as a testing workaround and should only be enabled for the Cargo integration tests.
  • Separate test-utils crate that contains common test utilities, feature-gated sdks, .so program fixtures
  • Update Makefile and GitHub workflows

@nvsriram nvsriram force-pushed the solana/add-shim-transceiver-cargo-tests branch from f85c3e6 to 521559d Compare November 4, 2025 21:05
@nvsriram nvsriram force-pushed the solana/add-shim-transceiver-cargo-tests branch from 86368b6 to 0e3eea6 Compare November 6, 2025 17:54
@nvsriram nvsriram marked this pull request as ready for review November 6, 2025 20:10
Copy link
Copy Markdown
Collaborator

@johnsaigle johnsaigle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't review in detail, but this PR seems to be changing only tests, build files, and imports without major application changes.

Copy link
Copy Markdown
Contributor

@nik-suri nik-suri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with the context that:

  • I'm not able to review the changes in depth
  • The only changes to non-testing code simply re-order dependencies, no functional changes.
  • All other changes only impact testing code
  • A proper review of this testing code will be rolled into the security review process.

@nvsriram nvsriram merged commit a4875e0 into main Nov 6, 2025
9 checks passed
@nvsriram nvsriram deleted the solana/add-shim-transceiver-cargo-tests branch November 6, 2025 21:01
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.

3 participants