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: track queued txs along with pending #206

Merged
merged 2 commits into from
Feb 7, 2024

Conversation

manav2401
Copy link
Member

@manav2401 manav2401 commented Feb 7, 2024

Description

This PR adds the ability to track queued transactions as well along with pending txs in the monitor command as it's helpful for load testing.

Testing

Tested it on a devnet and queued tx count shows up correctly

Screenshot 2024-02-07 at 6 36 16 PM

Copy link
Member

@leovct leovct left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! tested against https://polygon-rpc.com and it works fine.

nit: I would just get rid of the old GetTxPoolSize function :)

@manav2401
Copy link
Member Author

nit: I would just get rid of the old GetTxPoolSize function :)

Done, thanks!

@leovct leovct merged commit ec28777 into 0xPolygon:main Feb 7, 2024
6 of 7 checks passed
@manav2401 manav2401 deleted the denote-pending-txs branch February 7, 2024 13:33
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.

2 participants