status-go/api
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
..
multiformat Add spiff workflow cmd 2023-03-16 14:31:34 +00:00
.gitignore Fix some tests & upgrade contracts 2021-07-20 10:57:38 +02:00
app_state.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00
app_state_test.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00
backend.go feat: adapt create/restore/login endpoints for keycard usage (#5311) 2024-06-26 13:14:27 +02:00
backend_test.go chore_: remove deprecated `CreateAccount.BackupDisabledDataDir` (#5664) 2024-08-07 13:59:43 +01:00
create_account_and_login_test.go fix: proper usage of CreateAccount RootDataDir (#5284) 2024-06-05 14:03:34 +01:00
default_networks.go feat(wallet)_: add status proxy RPC urls for blockchain providers 2024-08-01 08:19:20 +02:00
default_networks_test.go fix(wallet)_: add POKT(Grove) sepolia url 2024-05-08 12:35:12 +02:00
default_test.go fix(integration-tests)_: add missing HTTPVirtualHosts 2024-07-04 16:14:02 +02:00
defaults.go feat_: auto set random wallet emoji when creating account (#5667) 2024-08-07 13:34:04 +01:00
geth_backend.go Improvements on resolving nonce (#5658) 2024-08-12 08:07:32 -04:00
old_mobile_user_upgrading_from_v1_to_v2_test.go fix: enable light client for mobile (#5654) 2024-08-07 14:43:21 +05:30
seed_phrase_dictionary.go feat_: auto set random wallet emoji when creating account (#5667) 2024-08-07 13:34:04 +01:00
test_helpers.go fix(integration-tests)_: add missing HTTPVirtualHosts 2024-07-04 16:14:02 +02:00
utils.go synchronize display name (#2989) 2022-12-29 14:16:19 +08:00
utils_test.go fix(tests): moved test db setup to a common place 't/helpers', created 2023-08-18 09:00:56 +02:00