Skip to content

Commit

Permalink
Testnet commit timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Oct 9, 2023
1 parent 81aae9f commit f663db6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/wasmd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ type startArgs struct {
outputDir string
printMnemonic bool
rpcAddress string
timeoutCommit time.Duration
}

func addTestnetFlagsToCmd(cmd *cobra.Command) {
Expand Down Expand Up @@ -159,7 +160,6 @@ Example:
if err != nil {
return err
}

return initTestnetFiles(clientCtx, cmd, config, mbm, genBalIterator, clientCtx.TxConfig.SigningContext().ValidatorAddressCodec(), args)
},
}
Expand Down Expand Up @@ -553,6 +553,7 @@ func startTestnet(cmd *cobra.Command, args startArgs) error {
networkConfig.APIAddress = args.apiAddress
networkConfig.GRPCAddress = args.grpcAddress
networkConfig.PrintMnemonic = args.printMnemonic
networkConfig.TimeoutCommit = args.timeoutCommit
networkLogger := network.NewCLILogger(cmd)

baseDir := fmt.Sprintf("%s/%s", args.outputDir, networkConfig.ChainID)
Expand Down

0 comments on commit f663db6

Please sign in to comment.