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

Bor gpo.ignoreprice should be aligned with txpool.pricelimit #62

Closed
dahu33 opened this issue Nov 21, 2022 · 0 comments · Fixed by #63
Closed

Bor gpo.ignoreprice should be aligned with txpool.pricelimit #62

dahu33 opened this issue Nov 21, 2022 · 0 comments · Fixed by #63

Comments

@dahu33
Copy link
Contributor

dahu33 commented Nov 21, 2022

When running Polygon Mainnet nodes using the provided config in this repository, the txpool.pricelimit (minimum gas price limit to enforce acceptance into the pool) is set to 30000000000 but the gpo.ignoreprice (gas price below which the gas price oracle will ignore transactions) is left to its default value of 2.

Because some validators on the network include transactions with gas price under 30 Gwei, the nodes gas price oracle may return a value under 30 Gwei when called with the JSON RPC eth_maxPriorityFeePerGas.

This is a recurring issue we've seen across many node providers leading to many transactions being rejected with the error {"code":-32000,"message":"transaction underpriced"} (when using the node gas price oracle).

The nodes gpo.ignoreprice and txpool.pricelimit settings should be aligned to remove the discrepancy between the minimum gas tip/priority price that nodes are willing to accept a transaction at and the suggested gas tip/priority price that nodes return.

I have shared a bit more details in a blog post here: https://www.curvegrid.com/blog/2022-11-21-polygon-transaction-underpriced

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 a pull request may close this issue.

1 participant