status-go/services/wallet/router/pathprocessor
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
..
cbridge chore_: `Bridge` interface renamed to `PathProcessor` interface and necessary changes applied due to that change 2024-06-07 15:50:38 +02:00
mock_pathprocessor fix_: block on logout (#5696) 2024-08-12 22:30:13 +01:00
proto_cbridge chore_: `Bridge` interface renamed to `PathProcessor` interface and necessary changes applied due to that change 2024-06-07 15:50:38 +02:00
common.go chore_: calculating multi tx candidates improvements 2024-06-26 11:02:13 +01:00
constants.go chore_: calculating multi tx candidates improvements 2024-06-26 11:02:13 +01:00
errors.go feat(wallet)_: handle paraswap price impact error (#5622) 2024-08-07 23:33:44 +01:00
errors_test.go chore_: when returning errors, give precedence to custom (network) errors 2024-07-29 10:05:56 +02:00
multipath_processor.go chore_: use the old name for backward compatibility 2024-06-11 10:30:34 +02:00
processor.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
processor_bridge_celar.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
processor_bridge_hop.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
processor_ens_public_key.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
processor_ens_register.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
processor_ens_release.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
processor_erc721.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
processor_erc1155.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
processor_stickers_buy.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
processor_swap_paraswap.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
processor_swap_paraswap_test.go feat(wallet)_: handle paraswap price impact error (#5622) 2024-08-07 23:33:44 +01:00
processor_test.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
processor_transfer.go chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00