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

fixed txpool maxEnqueued issue #1789

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

rachit77
Copy link
Contributor

@rachit77 rachit77 commented Aug 7, 2023

Description

Currently, the Txpool refuses to process transactions for a specific address once the maxEnqueued limit for that address is reached. This situation results in a stagnant state for the address, preventing it from accommodating any further transactions, including those with the nextNonce. With the introduction of this PR, addresses will have the capability to accept transactions with the nextNonce, even when the maxEnqueued limit for an account has been reached.

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have added the relevant labels
  • I have updated the official documentation
  • I have added sufficient documentation in code

Testing

  • I have tested this code with the official test suite
  • I have tested this code manually

@rachit77 rachit77 added the bug fix Functionality that fixes a bug label Aug 7, 2023
@rachit77 rachit77 self-assigned this Aug 7, 2023
txpool/txpool.go Show resolved Hide resolved
txpool/txpool_test.go Outdated Show resolved Hide resolved
@Stefan-Ethernal Stefan-Ethernal linked an issue Aug 8, 2023 that may be closed by this pull request
@rachit77 rachit77 requested review from begmaroman and removed request for vcastellm August 8, 2023 10:58
@rachit77 rachit77 merged commit 39f7d2b into 0xPolygon:develop Aug 8, 2023
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fix Functionality that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Txpool problem
3 participants