Skip to content

Commit

Permalink
feat: provide gas price for gentx (#1051) (#1053)
Browse files Browse the repository at this point in the history
(cherry picked from commit a9d9821)

Co-authored-by: Rootul P <[email protected]>
  • Loading branch information
mergify[bot] and rootulp authored Apr 5, 2024
1 parent a3f4c7b commit 1c05790
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion chain/cosmos/chain_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,11 @@ func (tn *ChainNode) Gentx(ctx context.Context, name string, genesisSelfDelegati
}

command = append(command, "gentx", valKey, fmt.Sprintf("%s%s", genesisSelfDelegation.Amount.String(), genesisSelfDelegation.Denom),
"--gas-prices", tn.Chain.Config().GasPrices,
"--gas-adjustment", fmt.Sprint(tn.Chain.Config().GasAdjustment),
"--keyring-backend", keyring.BackendTest,
"--chain-id", tn.Chain.Config().ChainID)
"--chain-id", tn.Chain.Config().ChainID,
)

_, _, err := tn.ExecBin(ctx, command...)
return err
Expand Down

0 comments on commit 1c05790

Please sign in to comment.