feat: invoice state machine, Soroban utilities, and invoice endpoints - #199
Merged
Chucks1093 merged 1 commit intoJul 29, 2026
Merged
Annotations
1 error and 1 warning
|
Run wagoid/commitlint-github-action@v6
You have commit messages with errors
⧗ input: feat: add invoice state machine and Soroban utilities
- Add isValidInvoiceStateTransition() utility for validating invoice state machine transitions (DRAFT -> PUBLISHED -> FUNDED -> SETTLED)
- Add comprehensive unit tests for all 36 state transition permutations
- Add isValidSorobanContractId() validator using StrKey.isValidContract()
- Add unit tests for Soroban contract ID validation
- Add getInvoiceTokenHolders() endpoint to query token holders and percentage shares
- Add getInvoiceEscrowStatus() endpoint to query on-chain escrow contract status
- Update invoice.service to accept dataSource for Investment queries
- Add routes for new invoice endpoints
Closes #164 #163 #161 #160
✖ body's lines must not be longer than 100 characters [body-max-line-length]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
parallel
Loading