archethic-foundation / archethic-foundation/libjs

getBalance should not return 0 in case of network error

Open
#221 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.