title: Add Multi-Network Integration Test Matrix for Testnet and Mainnet Config
Description:
Create a configuration test matrix that validates both testnet and mainnet wiring without requiring unsafe live mainnet mutations.
Requirements and Context:
- The app supports two networks but many checks are only implicitly testnet-focused
- Production release confidence requires both configuration branches to be exercised
- Must avoid destructive mainnet writes
Suggested Execution:
Fork and Branch
git checkout -b test/multi-network-config-matrix
Implement Changes::
Files to Edit:
frontend/src/config/stellar.ts - Expose testable config branches
backend/src/services/stellarEventListener.ts - Allow env-driven horizon assertions
scripts/verify-deployment.sh - Add network-aware validation mode
Files to Create:
frontend/src/test/integration/network-config-matrix.test.ts - Frontend network config tests
backend/src/__tests__/networkConfigMatrix.test.ts - Backend network config tests
Test
- Verify testnet and mainnet URLs, passphrases, and explorer links are correct
- Verify no friendbot or testnet-only logic leaks into mainnet mode
- Verify missing mainnet contract IDs fail validation
Commit
git add .
git commit -m "test(integration): add multi-network configuration matrix tests"
Guidelines:
- Treat mainnet as a first-class config path
- Use read-only checks for live mainnet validation
title: Add Multi-Network Integration Test Matrix for Testnet and Mainnet Config
Description:
Create a configuration test matrix that validates both testnet and mainnet wiring without requiring unsafe live mainnet mutations.
Requirements and Context:
Suggested Execution:
Fork and Branch
git checkout -b test/multi-network-config-matrixImplement Changes::
Files to Edit:
frontend/src/config/stellar.ts- Expose testable config branchesbackend/src/services/stellarEventListener.ts- Allow env-driven horizon assertionsscripts/verify-deployment.sh- Add network-aware validation modeFiles to Create:
frontend/src/test/integration/network-config-matrix.test.ts- Frontend network config testsbackend/src/__tests__/networkConfigMatrix.test.ts- Backend network config testsTest
Commit
git add .git commit -m "test(integration): add multi-network configuration matrix tests"Guidelines: