status-go/services/wallet/router
saledjenic 79b1c547d1
Improvements on resolving nonce (#5658)
* chore_: unused `BuildTx` function removed from the processor interface and types that are implement it

Since the `BuildTx` function is not used anywhere, it's removed from the code.

* fix_: resolving nonce improvements

When the app sends more than a single tx from the same account on the same chain, some
chains do not return appropriate nonce (they do not consider pending txs), because of
that we place more tx with the same nonce, where all but the first one fail.

Changes in this PR keep track of nonces being used in the same sending/bridging flow, which means
for the first tx from the multi txs the app asks the chain for the nonce, and every next nonce is resolved
by incrementing the last used nonce by 1.
2024-08-12 08:07:32 -04:00
..
pathprocessor Improvements on resolving nonce (#5658) 2024-08-12 08:07:32 -04:00
errors.go feat_: added new error which will be returned in case bonder fee is higher than the amount being sent 2024-07-31 15:12:05 +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 feat_: the router - add candidates, as potential paths, by taking the max amount on enabled chains 2024-07-05 14:51:34 +02:00
router_send_type.go fix_: allow sending 0 value transactions 2024-07-23 18:19:10 +02:00
router_v2.go fix_: the last known route with positive balance returned if no route without balance/bonder error 2024-08-01 15:26:01 +02:00
router_v2_test.go feat(wallet)_: add status proxy RPC urls for blockchain providers 2024-08-01 08:19:20 +02:00
router_v2_test_data.go feat_: added new error which will be returned in case bonder fee is higher than the amount being sent 2024-07-31 15:12:05 +02:00