Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index submitted transactions for nonce tracking in tx client #3899

Open
ninabarbakadze opened this issue Sep 23, 2024 · 0 comments · May be fixed by #3830
Open

Index submitted transactions for nonce tracking in tx client #3899

ninabarbakadze opened this issue Sep 23, 2024 · 0 comments · May be fixed by #3830
Assignees
Labels
WS: BestTxs Reliable and seamless transaction flow

Comments

@ninabarbakadze
Copy link
Member

Description

Currently, if a transaction has a nonce mismatch, we query the transaction nonce and resubmit transactions with the updated nonce. We should stop resubmitting transactions on users' behalf and instead track all submitted transactions and their nonces locally. If a transaction gets evicted during ConfirmTx(), we can readjust the nonce to what it was before the transaction was submitted on-chain, allowing users to resubmit transactions if they choose to do so.

@ninabarbakadze ninabarbakadze self-assigned this Sep 23, 2024
@ninabarbakadze ninabarbakadze added the WS: BestTxs Reliable and seamless transaction flow label Sep 23, 2024
@ninabarbakadze ninabarbakadze changed the title Track submitted transactions for nonce tracking in tx client Index submitted transactions for nonce tracking in tx client Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WS: BestTxs Reliable and seamless transaction flow
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant