queryXlmBalance() in src/soroban.ts — which simulates a balance() call against the native asset's Stellar Asset Contract to determine a user's XLM balance — has no dedicated test anywhere under src/tests/. It's exercised only indirectly (if at all) through StreamsModule.create()'s insufficient-balance path, which is itself the site of a separate concrete bug (see the estimateRequiredFee ~500 XLM overstatement issue). A direct unit test mocking the RPC simulateTransaction response would have caught issues in this path earlier.
queryXlmBalance()insrc/soroban.ts— which simulates abalance()call against the native asset's Stellar Asset Contract to determine a user's XLM balance — has no dedicated test anywhere undersrc/tests/. It's exercised only indirectly (if at all) throughStreamsModule.create()'s insufficient-balance path, which is itself the site of a separate concrete bug (see theestimateRequiredFee~500 XLM overstatement issue). A direct unit test mocking the RPCsimulateTransactionresponse would have caught issues in this path earlier.