Skip to content

Commit

Permalink
refactor: enable eip1559 mempool by default (backport #6897) (#6898)
Browse files Browse the repository at this point in the history
* refactor: enable eip1559 mempool by default (backport #6897)

* Update CHANGELOG.md
  • Loading branch information
p0mvn authored Nov 20, 2023
1 parent 33db4e0 commit 4230756
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 @@ -48,6 +48,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Misc Improvements

* [#6788](https://github.com/osmosis-labs/osmosis/pull/6788) Improve error message when CL LP fails due to slippage bound hit.
* [#6898](https://github.com/osmosis-labs/osmosis/pull/6898) 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 @@ -456,7 +456,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 4230756

Please sign in to comment.