status-go/api
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
..
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 feat(pairing)_: Fallback pairing seed (#5614) (#5627) 2024-07-30 13:03:43 -03: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 chore_: CHERRY-PICK Proxy URLs for blockchain providers (#5644) 2024-08-01 10:06:34 +01: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 chore_: CHERRY-PICK Proxy URLs for blockchain providers (#5644) 2024-08-01 10:06:34 +01:00
geth_backend.go chore_: cherry-pick #5658: improvements on resolving nonce (#5690) 2024-08-13 11:17:08 +01:00
messenger_raw_message_resend_test.go fix(communities)_: validate if RawMessage from DB is valid before sending it 2024-07-23 19:54:39 +02:00
old_mobile_user_upgrading_from_v1_to_v2_test.go fix_: enable light client for mobile (#5654) 2024-08-08 18:00:15 +05:30
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