archethic-foundation / archethic-foundation/libjs
getBalance should not return 0 in case of network error
Open
bug
- Dominant language
- TypeScript
- Stars
- 19
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the problem you discovered
It should reject instead
### Describe the solution you'd like
_No response_
### Epic
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the getBalance entry point in the TypeScript SDK and trace how network failures are handled. Reproduce a network error and verify that getBalance rejects instead of returning 0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100