Skip to content

Commit

Permalink
fix(v7): take user-configured gas-adjustment into account (#1107) (#1108
Browse files Browse the repository at this point in the history
)

GasAdjustments configured via the ChainConfig were being ignored.

(cherry picked from commit d522825)

Co-authored-by: violet <[email protected]>
  • Loading branch information
mergify[bot] and fastfadingviolets authored Apr 30, 2024
1 parent 1a0471e commit 54674fc
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 54674fc

Please sign in to comment.