-
Notifications
You must be signed in to change notification settings - Fork 639
fix #9356 #9363
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
base: main
Are you sure you want to change the base?
fix #9356 #9363
Conversation
WalkthroughThis pull request removes the mempool 1559 configuration option from the codebase. The changes eliminate the Changes
Sequence Diagram(s)sequenceDiagram
participant Node as Node
participant FD as FeeDecorator
participant BFC as BaseFeeCalculator
Node->>FD: Submit Transaction
FD->>BFC: Request Current Base Fee
BFC-->>FD: Return Base Fee
FD->>Node: Process Transaction with Retrieved Fee
Assessment against linked issues
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Looks good to me, just needs a changelog entry saying "removed config option to enable eip1559. Its now always on"
Remove mempool-1559 as a configuration option, fixes #9356
At this point, all nodes should be running the 1559 mempool implementation, so we no longer need to maintain the configuration option. This PR removes the
adaptive-fee-enabled
configuration parameter and makes the 1559 mempool behavior the default for all nodes.Changes made:
Mempool1559Enabled
field fromMempoolFeeOptions
structure inx/txfees/types/options.go
GlobalMempool1559Enabled
variable andparseMempool1559()
functionMempool1559Enabled
field fromOsmosisMempoolConfig
structure incmd/osmosisd/cmd/root.go
adaptive-fee-enabled
configuration option from the app templatefeedecorator.go
to always use the 1559 mempool logic without conditional checksCHANGELOG.md
regarding this changeThis change simplifies the codebase by removing unnecessary conditional logic and ensures all nodes have a consistent fee market behavior.