-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: mpool/wdpost: Maximize feecap config #9746
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I would slightly lean to setting it to true by default. Reasoning being:
|
9a1a086
to
444e75e
Compare
259a832
to
1927b26
Compare
Message sent on mainnet, confirming that the message fee-cap is more than 10 times the current network base fee. Before: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, though @magik6k should 👀 the commit i pushed and revert it if it's wrong for some reason.
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
Sorry, I am just posting a situation here, not saying this is a problem, I just want everyone to understand. |
Related Issues
I imagine there is something open about messages getting stuck around upgrades, but can't find an issue.
Proposed Changes
We've seen messages get stuck in mpool when basefee is rising rapidly, caused by underestimating FeeCap.
This PR adds a new field to
MessageSendSpec
:Because of the basefee mechanism there isn't munch downside to setting FeeCap as high as we're willing to pay for the message
Currently that field can be configured only by windowPoSt logic through SP node configuration:
TODO:
Add configuration for other subsystemscan be done laterAdditional Info
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, testarea
, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps