-
Notifications
You must be signed in to change notification settings - Fork 204
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
Mempool improvements #6640
Mempool improvements #6640
Conversation
…provider to sharded tx pool.
Master into feat/mempool
…versx/mx-chain-go into MX-16223-mempool-memoization
Implement an ephemeral accounts cache within a selection session
Run Tests: |
📊 MultiversX Automated Test Report: View Report 🔄 Build Details:
🚀 Environment Variables:
|
📊 MultiversX Automated Test Report: View Report 🔄 Build Details:
🚀 Environment Variables:
|
Mempool: adjust sender constraints
|
Mempool: lower "maxNum" when selecting transactions
|
Run Tests: |
📊 MultiversX Automated Test Report: View Report 🔄 Build Details:
🚀 Environment Variables:
|
Run Tests: |
|
📊 MultiversX Automated Test Report: View Report 🔄 Build Details:
🚀 Environment Variables:
|
Reasoning behind the pull request
Proposed changes
Now, transactions are selected with respect to their price per gas unit. Furthermore, selection is capped at a specific amount of gas. Not-executable transactions are excluded from selection (best-effort). Nonce gaps (and other anomalies) aren't detected using the notifications-based mechanism anymore. Instead, the mempool has direct access to query the blockchain state during selection.
Testing procedure
Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
feat
branch created?feat
branch merging, do all satellite projects have a proper tag insidego.mod
?