Skip to content

Commit

Permalink
refactor: enable eip1559 mempool by default (#6897)
Browse files Browse the repository at this point in the history
  • Loading branch information
p0mvn authored Nov 20, 2023
1 parent b215998 commit 9bf7d30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
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

0 comments on commit 9bf7d30

Please sign in to comment.