Skip to content

Commit

Permalink
fix(v7): take user-configured gas-adjustment into account (#1107)
Browse files Browse the repository at this point in the history
GasAdjustments configured via the ChainConfig were being ignored.

(cherry picked from commit d522825)
  • Loading branch information
fastfadingviolets authored and mergify[bot] committed Apr 30, 2024
1 parent 1a0471e commit 3a866ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibc/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (c ChainConfig) MergeChainSpecConfig(other ChainConfig) ChainConfig {
c.GasPrices = other.GasPrices
}

if other.GasAdjustment > 0 && c.GasAdjustment == 0 {
if other.GasAdjustment > 0 {
c.GasAdjustment = other.GasAdjustment
}

Expand Down

0 comments on commit 3a866ea

Please sign in to comment.