status-go/services/wallet/token
Belal Shehab 89d6c55d3e
fix(wallet)_: Handle balance fetching errors & fallback to cached values (#5628)
- Return errors from fetchBalancesForChain and GetBalancesAtByChain instead of silently ignoring them.
 - Use cached balances if fetching new data fails, preventing empty wallets and ensuring data consistency.
 - Fixed unit tests that was expecting GetBalancesAtByChain to always return nil error

Closes #15767

Co-authored-by: belalshehab <belal@status.im>
2024-08-01 12:54:29 +01:00
..
balancefetcher fix(wallet)_: Handle balance fetching errors & fallback to cached values (#5628) 2024-08-01 12:54:29 +01:00
downloader feat: add token list 2023-11-15 09:02:36 +01:00
mock feat(metrics)_: add centralized metrics 2024-07-11 10:05:31 +01:00
balance_persistence.go chore(wallet)_: tests for wallet.Reader fetching balances 2024-06-19 16:57:50 +01:00
balance_persistence_test.go fix(premissions)_: convert balance from GetCachedBalancesByChain (#5415) 2024-06-25 10:14:40 +02:00
gen.go feat: load token list in code 2023-06-16 09:00:06 +01:00
token.go test(wallet)_: add unit tests for balance fetcher 2024-07-04 09:29:49 +02:00
token_test.go feat(wallet)_: add status proxy RPC urls for blockchain providers 2024-08-01 08:19:20 +02:00
tokenstore.go chore_: add missing token 2024-07-04 09:28:18 +02:00
uniswap.go feat: add token list 2023-11-15 09:02:36 +01:00
uniswap_tokenstore.go feat: add token list 2023-11-15 09:02:36 +01:00