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

refactor: enable eip1559 mempool by default in config #6897

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* [#6858](https://github.com/osmosis-labs/osmosis/pull/6858) Merge mempool improvements from v20
* [#6861](https://github.com/osmosis-labs/osmosis/pull/6861) Protorev address added to reduced taker fee whitelist
* [#6890](https://github.com/osmosis-labs/osmosis/pull/6890) Enable arb filter for affiliate swap contract
* [#6891](https://github.com/osmosis-labs/osmosis/pull/6891) Enable 1559 mempool by default.

### API Breaks

Expand Down
2 changes: 1 addition & 1 deletion cmd/osmosisd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ arbitrage-min-gas-fee = ".005"
min-gas-price-for-high-gas-tx = ".0025"

# This parameter enables EIP-1559 like fee market logic in the mempool
adaptive-fee-enabled = "false"
adaptive-fee-enabled = "true"
`

return OsmosisAppTemplate, OsmosisAppCfg
Expand Down
2 changes: 1 addition & 1 deletion x/txfees/types/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var (
DefaultMinGasPriceForHighGasTx = osmomath.ZeroDec()
DefaultMaxGasWantedPerTx = uint64(25 * 1000 * 1000)
DefaultHighGasTxThreshold = uint64(1 * 1000 * 1000)
DefaultMempool1559Enabled = false
DefaultMempool1559Enabled = true
)

var GlobalMempool1559Enabled = false
Expand Down