From a9552b33a7fbf149a64eb07093362b89f23a070a Mon Sep 17 00:00:00 2001 From: Adam Tucker Date: Tue, 23 Apr 2024 19:26:55 -0600 Subject: [PATCH] feat: overwrite min-gas-prices to combat empty blocks (#8131) * fix config and app toml overwrites * changelog * more fixes * changelog name * push * push * clean up * reduce diff * comments * print propper * lint * only change the respective lines, rather than the entire file * reduce diff * abstraction * even more abstraction * add in line comments * update config * in line comments * fix overwrite bug * reduce diff * overwrite min gas prices * changelog * changelog --- CHANGELOG.md | 3 +++ cmd/osmosisd/cmd/root.go | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f908938605..e8e863924c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,9 +52,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### State Compatible +## v24.0.2 + * [#8006](https://github.com/osmosis-labs/osmosis/pull/8006), [#8014](https://github.com/osmosis-labs/osmosis/pull/8014) Speedup many BigDec operations * [#8030](https://github.com/osmosis-labs/osmosis/pull/8030) Delete legacy behavior where lockups could not unbond at very small block heights on a testnet * [#8118](https://github.com/osmosis-labs/osmosis/pull/8118) Config.toml and app.toml overwrite improvements +* [#8131](https://github.com/osmosis-labs/osmosis/pull/8131) Overwrite min-gas-prices to 0uosmo (defaulting to the EIP 1559 calculated value) to combat empty blocks ## v24.0.1 diff --git a/cmd/osmosisd/cmd/root.go b/cmd/osmosisd/cmd/root.go index 85c7d39f158..c6f202c35c7 100644 --- a/cmd/osmosisd/cmd/root.go +++ b/cmd/osmosisd/cmd/root.go @@ -104,6 +104,11 @@ type SectionKeyValue struct { var ( recommendedAppTomlValues = []SectionKeyValue{ + { + Section: "", + Key: "minimum-gas-prices", + Value: "0uosmo", + }, { Section: "osmosis-mempool", Key: "arbitrage-min-gas-fee", @@ -113,7 +118,8 @@ var ( Section: "osmosis-mempool", Key: "max-gas-wanted-per-tx", Value: "60000000", - }} + }, + } recommendedConfigTomlValues = []SectionKeyValue{ {