status-go/services/wallet/router
Sale Djenic 9b9a91f654 chore_: map insufficient funds error
This commit maps this kind of errors
`status-proxy-0.error: failed with 50011064 gas: insufficient funds for gas * price + value: address 0x4eeB09cf0076F840b38511D808464eE48efD4305 have 0 want 10000000000000`
to this form:
`status-proxy-0.error: failed with 50011064 gas: insufficient funds for gas * price + value: address 0x4eeB09cf0076F840b38511D808464eE48efD4305`

which means that we don't want to display to a user details of how much they have and how much is needed for fees, cause those data are very often
misleading, referring mostly to "how much user has".

New error added in case there is no positive balances across all enabled chains.
2024-08-28 08:23:18 +02:00
..
pathprocessor chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
errors.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
fees.go Added improvements in resolving the best route (#5569) 2024-07-25 08:15:30 -04:00
filter.go Added improvements in resolving the best route (#5569) 2024-07-25 08:15:30 -04:00
filter_test.go Added improvements in resolving the best route (#5569) 2024-07-25 08:15:30 -04:00
router.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
router_send_type.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
router_v2.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
router_v2_test.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
router_v2_test_data.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00