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

Rethinking nonce management #674

Open
3commascapital opened this issue May 17, 2023 · 0 comments
Open

Rethinking nonce management #674

3commascapital opened this issue May 17, 2023 · 0 comments

Comments

@3commascapital
Copy link

hi there, i am trying to figure out the reason for some of the logic in the sender.js file it seems, when there is a large queue of messages / retries to work through that it loops and chooses nonces to use erratically. here is an example of what i am seeing. I have removed other data from the log lines. is this caused by 2 queues operating concurrently perhaps?

Sending transaction with nonce 21782
Sending transaction with nonce 21775
Sending transaction with nonce 21775
Sending transaction with nonce 21783
Sending transaction with nonce 21775
Sending transaction with nonce 21775
Sending transaction with nonce 21784
Sending transaction with nonce 21775
Sending transaction with nonce 21775
Sending transaction with nonce 21785
Sending transaction with nonce 21775
Sending transaction with nonce 21775
Sending transaction with nonce 21775
Sending transaction with nonce 21786
Sending transaction with nonce 21787
Sending transaction with nonce 21775
Sending transaction with nonce 21775
Sending transaction with nonce 21788
Sending transaction with nonce 21775
Sending transaction with nonce 21775
Sending transaction with nonce 21789
Sending transaction with nonce 21775
Sending transaction with nonce 21775
Sending transaction with nonce 21775
Sending transaction with nonce 21790
Sending transaction with nonce 21775
Sending transaction with nonce 21775
Sending transaction with nonce 21775
Sending transaction with nonce 21791
Sending transaction with nonce 21775
Sending transaction with nonce 21791
Reading nonce
Forcing update of nonce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant