diff --git a/CHANGELOG.md b/CHANGELOG.md index 5faaddf0649a..a658938d57f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,12 @@ Ref: https://keepachangelog.com/en/1.0.0/ # Changelog +## [v0.47.4-evmos.2] - 2023-08-15 + +### Improvements + +* (cli) [#44](https://github.com/evmos/cosmos-sdk/pull/44) Convert `DefaultGasAdjustment` to `var` to allow customization of the value + ## [v0.47.4-evmos] - 2023-07-31 ### Features diff --git a/client/flags/flags.go b/client/flags/flags.go index 51918b473a98..37c751cb8930 100644 --- a/client/flags/flags.go +++ b/client/flags/flags.go @@ -11,13 +11,14 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keyring" ) +// DefaultGasAdjustment is applied to gas estimates to avoid tx execution +// failures due to state changes that might occur between the tx simulation +// and the actual run. +var DefaultGasAdjustment = 1.0 + const ( - // DefaultGasAdjustment is applied to gas estimates to avoid tx execution - // failures due to state changes that might occur between the tx simulation - // and the actual run. - DefaultGasAdjustment = 1.0 - DefaultGasLimit = 200000 - GasFlagAuto = "auto" + DefaultGasLimit = 200000 + GasFlagAuto = "auto" // DefaultKeyringBackend DefaultKeyringBackend = keyring.BackendOS