From 9bf7d3091ae5b6c1e78890dbcb38171fae24965b Mon Sep 17 00:00:00 2001 From: Roman Date: Mon, 20 Nov 2023 12:03:23 -0500 Subject: [PATCH] refactor: enable eip1559 mempool by default (#6897) --- CHANGELOG.md | 1 + cmd/osmosisd/cmd/root.go | 2 +- x/txfees/types/options.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0aa8a7c659c..e33c287046a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/cmd/osmosisd/cmd/root.go b/cmd/osmosisd/cmd/root.go index 572d8ae15da..6c613248b97 100644 --- a/cmd/osmosisd/cmd/root.go +++ b/cmd/osmosisd/cmd/root.go @@ -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 diff --git a/x/txfees/types/options.go b/x/txfees/types/options.go index c08c1b73fac..e39b79d0264 100644 --- a/x/txfees/types/options.go +++ b/x/txfees/types/options.go @@ -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