Understand Solana E2E coverage and limitations
mainThe Solana E2E harness is designed to validate specific execution paths and reliability features.
What is covered:
- Jito Bundle Path: Includes
sendAndConfirmBundle,confirmBundle, andSolanaJitoWaitForTransactionTask. - Standard Path: Validated across 12 different asset pairs.
- Ordering: Validates
txHash-then-txLinksequence. - Resiliency: Tests
raceRpcsagainst multiple live endpoints.
What is NOT covered:
- Multi-blockhash bundles: Bundles shared across different blockhashes.
- 90s Ceiling: The harness does not test the 90s timeout as mainnet typically confirms much faster.
rpc-unavailableerror: To test this manually, disable networking mid-run; expect error code1027(not1018).
Known Behavior & Failures
- Slippage Failures: It is expected that many legs fail during simulation with
InstructionError Custom: 25(slippage). This is often due to Titan aggregator quote defects (e.g., quoting a significant premium for SOL→USDT or USDC→USDT) and is not considered an SDK defect. - Jito Bundle Requirement: For the bundle phase to work, the backend must return a Perena route for
PENGU → USD*whenjitoBundle: trueis set in the routes options. Note that this must be in the routes options, not as a query parameter on/v1/quoteor onstepTransaction.