Skip to content

Add tests for multi-sig threshold validation#366

Merged
vic-Gray merged 2 commits into
code-flexing:mainfrom
Jumongweb:main
May 30, 2026
Merged

Add tests for multi-sig threshold validation#366
vic-Gray merged 2 commits into
code-flexing:mainfrom
Jumongweb:main

Conversation

@Jumongweb
Copy link
Copy Markdown
Contributor

@Jumongweb Jumongweb commented May 29, 2026

Closes #346


I added multisig threshold coverage in stellar.service.spec.ts (line 330): one test now rejects a threshold above the signer count, and another verifies the exact low/med/high threshold values are pushed into the Stellar setOptions call. The service guard itself is the one at stellar.service.ts (line 694).
I also cleaned up the existing Stellar service fixtures while I was in there so the spec uses real keypairs instead of placeholder G... strings, and I stubbed the XDR balance-ID decode in the unit tests to keep them deterministic. Verification passed with:

@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

@Jumongweb is attempting to deploy a commit to the vic's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@Jumongweb Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vic-Gray vic-Gray merged commit 354a533 into code-flexing:main May 30, 2026
1 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

#625 Add tests for multi-sig threshold validation

2 participants