Skip to content

Commit

Permalink
reduce gas values
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani authored and Pantani committed Dec 13, 2023
1 parent b764cbf commit 338a8fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions hermes/cmd/hermes_configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ func NewHermesConfigure() *cobra.Command {
c.Flags().String(flagChainBKeyName, "wallet", "hermes account name of the chain B")
c.Flags().String(flagChainAStorePrefix, "ibc", "store prefix of the chain A")
c.Flags().String(flagChainBStorePrefix, "ibc", "store prefix of the chain B")
c.Flags().Uint64(flagChainADefaultGas, 100000, "default gas used for transactions on chain A")
c.Flags().Uint64(flagChainBDefaultGas, 100000, "default gas used for transactions on chain B")
c.Flags().Uint64(flagChainAMaxGas, 10000000, "max gas used for transactions on chain A")
c.Flags().Uint64(flagChainBMaxGas, 10000000, "max gas used for transactions on chain B")
c.Flags().Uint64(flagChainADefaultGas, 1000, "default gas used for transactions on chain A")
c.Flags().Uint64(flagChainBDefaultGas, 1000, "default gas used for transactions on chain B")
c.Flags().Uint64(flagChainAMaxGas, 100000, "max gas used for transactions on chain A")
c.Flags().Uint64(flagChainBMaxGas, 100000, "max gas used for transactions on chain B")
c.Flags().String(flagChainAGasPrice, "1stake", "gas price used for transactions on chain A")
c.Flags().String(flagChainBGasPrice, "1stake", "gas price used for transactions on chain B")
c.Flags().String(flagChainAGasMultiplier, "1.1", "gas multiplier used for transactions on chain A")
Expand Down
4 changes: 2 additions & 2 deletions hermes/pkg/hermes/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ func (c *Config) AddChain(chainID, rpcAddr, grpcAddr string, options ...ChainOpt
AccountPrefix: "cosmos",
KeyName: "wallet",
StorePrefix: "ibc",
DefaultGas: 100000,
MaxGas: 10000000,
DefaultGas: 1000,
MaxGas: 100000,
GasPrice: GasPrice{
Denom: "stake",
Price: 0.01,
Expand Down

0 comments on commit 338a8fc

Please sign in to comment.