-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description:
Add tests (and small tooling) to ensure that important error codes from contracts map to clear, user-facing error messages in the backend and SDK, reducing ambiguity for integrators.
Requirements and context:
- Errors are surfaced in multiple layers (contract, backend, SDK)
- Need tests that:
- Trigger representative errors on-chain
- Verify backend/SDK mapping to human-readable messages
- Component locations:
- Contract error enums and tests
- Backend or SDK error mapping code
Suggested execution:
-
Fork the repo and create a branch
git checkout -b test/error-message-clarity-mapping
-
Implement changes
- Add mapping tables and tests for them
- Ensure no important contract error is unmapped
-
Test and commit
- Run backend/SDK tests
- Include mapping table or reference in PR
Example commit message:
test: add tests for error message clarity and mapping
Guidelines:
- Assignment required before starting
- PR description must include:
Closes #[issue_id]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program