status-go/services/wallet/transfer
saledjenic c39baa80d2
chore_: cherry-pick #5658: improvements on resolving nonce (#5690)
* 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-13 11:17:08 +01:00
..
block_dao.go feat(wallet): separate ETH and tokens search ranges to allow calling 2023-12-05 16:09:56 +01:00
block_ranges_sequential_dao.go chore_: bump go to 1.20 (#5027) 2024-04-18 18:48:02 +02:00
block_ranges_sequential_dao_test.go [#4690] Nilable block range values for proper ranges management (#4691) 2024-02-19 16:50:07 +01:00
block_test.go Implemented balance history based on transfers (#4022) 2023-10-04 15:00:12 +03:00
bridge_identifier.go chore(wallet)_: clean up wallet API send and sign transactions 2024-05-09 18:11:58 +02:00
commands.go feat_: add support for approve and swap activity entries 2024-07-22 18:29:13 -03:00
commands_sequential.go fix(wallet)_: fix rpc limiter to reset counters on timeout 2024-06-20 16:48:28 +02:00
commands_sequential_test.go chore_: CHERRY-PICK Proxy URLs for blockchain providers (#5644) 2024-08-01 10:06:34 +01:00
concurrent.go fix: resolve first tx of block 2024-02-21 13:28:26 +01:00
concurrent_test.go fix: resolve first tx of block 2024-02-21 13:28:26 +01:00
controller.go fix(wallet)_: fix rpc limiter to reset counters on timeout 2024-06-20 16:48:28 +02:00
controller_test.go chore(wallet)_: code structure improved for multi_transaction manager 2024-05-31 09:58:06 +02:00
database.go feat(wallet)_: more fixes for rpc_limiter_db and chain client, more 2024-05-28 13:44:40 +02:00
database_test.go fix: calculating next nonce for optimism chain improved to align with calculation on mainnet and arbitrum 2024-03-13 15:21:33 +01:00
downloader.go feat(wallet)_: more fixes for rpc_limiter_db and chain client, more 2024-05-28 13:44:40 +02:00
helpers.go chore_: cherry-pick #5658: improvements on resolving nonce (#5690) 2024-08-13 11:17:08 +01:00
iterative.go feat(wallet): separate ETH and tokens search ranges to allow calling 2023-12-05 16:09:56 +01:00
iterative_test.go feat: enable wallet without network binding (#2349) 2021-09-09 16:28:54 +02:00
multi_transaction_db.go feat(wallet)_: add Approve transaction type 2024-06-10 08:57:45 -03:00
multi_transaction_db_test.go test(wallet)_: created Transactor interface 2024-05-31 09:58:06 +02:00
query.go feat: link owned collectibles with latest matching transfer 2024-01-15 12:55:47 -03:00
reactor.go [#4649] Do not restart reactor when it is already running (#4663) 2024-02-01 17:26:40 +01:00
sequential_fetch_strategy.go [#4603] Get rid of fetchLatestBlockNumberCommand (#4614) 2024-01-25 13:05:59 +01:00
swap_identifier.go fix: Update timestamp when upserting multi tx (#4224) 2023-10-30 07:53:22 +01:00
testutils.go feat(wallet)_: add Approve transaction type 2024-06-10 08:57:45 -03:00
transaction_manager.go chore_: cherry-pick #5658: improvements on resolving nonce (#5690) 2024-08-13 11:17:08 +01:00
transaction_manager_internal.go chore_: cherry-pick #5658: improvements on resolving nonce (#5690) 2024-08-13 11:17:08 +01:00
transaction_manager_multitransaction.go feat_: add support for approve and swap activity entries 2024-07-22 18:29:13 -03:00
transaction_manager_multitransaction_test.go chore_: cherry-pick #5658: improvements on resolving nonce (#5690) 2024-08-13 11:17:08 +01:00
transaction_manager_test.go chore_: cherry-pick #5658: improvements on resolving nonce (#5690) 2024-08-13 11:17:08 +01:00
view.go feat(wallet) extract json blobs and add custom migration support 2023-06-08 13:54:40 +02:00