status-go/services/communitytokens
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
..
communitytokensdatabase feat_: Move community tokens transaction listening to status-go 2024-05-16 16:18:15 +02:00
api.go feat_: recovery retracking pending transsactions 2024-05-28 13:06:24 +02:00
api_test.go feat_: Move community tokens transaction listening to status-go 2024-05-16 16:18:15 +02:00
estimations.go Improvements on resolving nonce (#5658) 2024-08-12 08:07:32 -04:00
manager.go feat_: Move community tokens transaction listening to status-go 2024-05-16 16:18:15 +02:00
service.go feat(community tokens)_: Upgrade ERC721 contract to enable batch transfers 2024-07-08 11:30:51 +02:00
token_instances.go feat_: add l1 transaction fee to community token contracts operations 2024-05-17 09:57:03 +02:00
version.go feat(community tokens)_: Upgrade ERC721 contract to enable batch transfers 2024-07-08 11:30:51 +02:00