Skip to content

Commit

Permalink
chore: convert DefaultGasAdjustment to var (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
GAtom22 committed Jun 20, 2024
1 parent 8d4b703 commit f346110
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ Ref: https://keepachangelog.com/en/1.0.0/
- (cli) [#17188](https://github.com/cosmos/cosmos-sdk/pull/17188) Fix `--output-document` flag in `tx multi-sign`.
- (x/auth) [#17209](https://github.com/cosmos/cosmos-sdk/pull/17209) Internal error on AccountInfo when account's public key is not set.

## [v0.47.4-evmos.2](https://github.com/evmos/cosmos-sdk/releases/tag/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](https://github.com/evmos/cosmos-sdk/releases/tag/v0.47.4-evmos) - 2023-07-31

### Features
Expand Down
13 changes: 7 additions & 6 deletions client/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f346110

Please sign in to comment.