-
Notifications
You must be signed in to change notification settings - Fork 86
Add Multi-Network Integration Test Matrix for Testnet and Mainnet Config #647
Copy link
Copy link
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
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 branchesbackend/src/services/stellarEventListener.ts- Allow env-driven horizon assertionsscripts/verify-deployment.sh- Add network-aware validation mode
Files to Create:
frontend/src/test/integration/network-config-matrix.test.ts- Frontend network config testsbackend/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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program