Repository navigation
Fix: 3 issues (#929, #930, #931) - #1019
Merged
Merged
Conversation
Co-authored-by: Simple Agent <agent@simple.dev>
|
@popsman01 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! 🚀 |
Austinaminu2
had a problem deploying
to
staging
October 17, 2026 20:55 — with
GitHub Actions
Failure
3 tasks
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #929
Closes #930
Closes #931
Issues
#929 Test create-stream ScVal builders
#930 Test getTokenMetadata
#931 Test downloadCSV and downloadJSON
Summary
All three issues are test-only; no production changes are expected. buildCreateStreamInputScVal and buildCreateStreamParamsScVal are module-private, so they must be exercised through estimateCreateStreamFee and createStream in live mode (stub a non-empty NEXT_PUBLIC_STREAM_CONTRACT_ID_TESTNET and mock getServer). Use @stellar/stellar-sdk's xdr.ScVal type tags (scvI128, scvU64, scvAddress, scvSymbol) to assert encodings, and include bigint values above Number.MAX_SAFE_INTEGER to catch precision loss. For getTokenMetadata, confirm whether the implementation returns a fallback token or throws on failure and assert accordingly. For export helpers, mock URL.createObjectURL/revokeObjectURL and anchor click; spy on Blob to check MIME types. Only tests/** is collected by Vitest, so all new tests must live there.
Changes