diff --git a/hermes/cmd/hermes_configure.go b/hermes/cmd/hermes_configure.go index 1ff76c10..d5a29c7a 100644 --- a/hermes/cmd/hermes_configure.go +++ b/hermes/cmd/hermes_configure.go @@ -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") diff --git a/hermes/pkg/hermes/config.go b/hermes/pkg/hermes/config.go index f28f9a8d..96472105 100644 --- a/hermes/pkg/hermes/config.go +++ b/hermes/pkg/hermes/config.go @@ -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,