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

feat(nonce-cache): read from nonce cache when theres a nonce gap #1

Open
wants to merge 1 commit into
base: zkevm
Choose a base branch
from

Conversation

elliothllm
Copy link
Owner

@elliothllm elliothllm commented Dec 17, 2024

2 Conditions for 0 nonce.

Nonce gap:
Return 0 from nonce because the nonce is not in the b.tree

tx pool flush:
When we flush the tx pool at the same time we send a tx then the sender is caught in the rpc call but cannot find the nonce as it has just been flushed.

@elliothllm elliothllm changed the title feat(nonce-cache): read from nonce cache when we flush tx pool or ret… feat(nonce-cache): read from nonce cache when theres a nonce gap Dec 17, 2024
…urn 0 by sender

feat(nonce-cache): rm print lines

feat(nonce-cache): rm print lines 2

feat(nonce-cache): rm print lines 3

feat(nonce-cache): rm print lines 4

feat(nonce-cache): rm debug
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

Successfully merging this pull request may close these issues.

1 participant