Skip to content

Commit

Permalink
fixed default kwil provider being grpc (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
brennanjl committed Feb 26, 2024
1 parent bb2d7d2 commit 6b33d6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kwil-cli/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (c *KwilCliConfig) Store() error {

func DefaultKwilCliPersistedConfig() *kwilCliPersistedConfig {
return &kwilCliPersistedConfig{
GrpcURL: "127.0.0.1:50051",
GrpcURL: "http://localhost:8080",
}
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/kwil-cli/config/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func init() {
func BindGlobalFlags(fs *pflag.FlagSet) {
// Bind flags to environment variables
fs.String(globalPrivateKeyFlag, cliCfg.PrivateKey, "the private key of the wallet that will be used for signing")
fs.String(globalProviderFlag, cliCfg.GrpcURL, "the Kwil provider gRPC endpoint")
fs.String(globalProviderFlag, cliCfg.GrpcURL, "the Kwil provider HTTP endpoint")
fs.String(globalChainIDFlag, cliCfg.ChainID, "the expected/intended Kwil Chain ID")
fs.String(globalTlsCertFlag, cliCfg.TLSCertFile, "the path to the TLS certificate (if the provider endpoint is using TLS)")

Expand Down

0 comments on commit 6b33d6e

Please sign in to comment.