Prasanna/surfpool poc #90
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PoC adds comprehensive testing infrastructure and deployment capabilities for Jupiter swap visualization on Solana, building on the foundation of improved token mapping.
Work Done
New: Solana Test Utils Crate (
src/solana_test_utils/)Complete testing framework including:
CI/CD Enhancement
.github/workflows/nightly-jupiter.yml)Deployment Artifacts
Minor Improvements
Testing
Running Tests Locally
Basic fixture and validation tests (no external dependencies):
Transaction validation tests:
Nightly Jupiter trading pairs test (requires Helius API key):
Surfpool Integration (Optional)
Surfpool is installed and available for advanced transaction simulation:
Note: Surfpool integration tests require the Surfpool binary and may need CLI updates for compatibility with the latest Surfpool version.
Configuration
Edit
src/solana_test_utils/config/pairs_config.tomlto customize trading pairs tested:Test Reports
Reports are generated in
src/solana_test_utils/reports/nightly/:latest.md- Human-readable reportlatest.json- Structured report dataNext Steps: Multichain Testing
To make testing truly multichain, the next step is to implement the external integration testing proposal:
→ External Integration Testing Proposal
This will enable comprehensive cross-chain testing and validation across Solana, Ethereum, and other supported chains.