Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

chore: update the rpc flag name #316

Merged
merged 1 commit into from
Apr 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/qgb/orchestrator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ import (
const (
FlagCelestiaGRPC = "celes-grpc"
FlagEVMAccAddress = "evm-address"
FlagTendermintRPC = "celes-http-rpc"
FlagTendermintRPC = "celes-rpc"
FlagBootstrappers = "p2p-bootstrappers"
FlagP2PListenAddress = "p2p-listen-addr"
FlagP2PNickname = "p2p-nickname"
)

func addOrchestratorFlags(cmd *cobra.Command) *cobra.Command {
cmd.Flags().StringP(FlagTendermintRPC, "t", "http://localhost:26657", "Specify the rest rpc address")
cmd.Flags().StringP(FlagCelestiaGRPC, "c", "localhost:9090", "Specify the grpc address")
cmd.Flags().StringP(FlagTendermintRPC, "t", "tcp://localhost:26657", "Specify the rest rpc address")
cmd.Flags().StringP(FlagCelestiaGRPC, "c", "localhost:9090", "Specify the grpc address (without the protocol prefix)")
cmd.Flags().StringP(
FlagEVMAccAddress,
"d",
Expand Down
6 changes: 3 additions & 3 deletions cmd/qgb/relayer/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const (
FlagEVMAccAddress = "evm-address"
FlagEVMChainID = "evm-chain-id"
FlagCelesGRPC = "celes-grpc"
FlagTendermintRPC = "celes-http-rpc"
FlagTendermintRPC = "celes-rpc"
FlagEVMRPC = "evm-rpc"
FlagContractAddress = "contract-address"
FlagEVMGasLimit = "evm-gas-limit"
Expand All @@ -30,8 +30,8 @@ const (
func addRelayerStartFlags(cmd *cobra.Command) *cobra.Command {
cmd.Flags().StringP(FlagEVMAccAddress, "d", "", "Specify the EVM account address to use for signing (Note: the private key should be in the keystore)")
cmd.Flags().Uint64P(FlagEVMChainID, "z", 5, "Specify the evm chain id")
cmd.Flags().StringP(FlagCelesGRPC, "c", "localhost:9090", "Specify the grpc address")
cmd.Flags().StringP(FlagTendermintRPC, "t", "http://localhost:26657", "Specify the rest rpc address")
cmd.Flags().StringP(FlagCelesGRPC, "c", "localhost:9090", "Specify the grpc address (without the protocol prefix)")
cmd.Flags().StringP(FlagTendermintRPC, "t", "tcp://localhost:26657", "Specify the rest rpc address")
cmd.Flags().StringP(FlagEVMRPC, "e", "http://localhost:8545", "Specify the ethereum rpc address")
cmd.Flags().StringP(FlagContractAddress, "a", "", "Specify the contract at which the qgb is deployed")
cmd.Flags().Uint64P(FlagEVMGasLimit, "l", evm.DefaultEVMGasLimit, "Specify the evm gas limit")
Expand Down
4 changes: 2 additions & 2 deletions docs/orchestrator.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ Usage:
qgb orchestrator start <flags> [flags]

Flags:
-c, --celes-grpc string Specify the grpc address (default "localhost:9090")
-t, --celes-http-rpc string Specify the rest rpc address (default "http://localhost:26657")
-c, --celes-grpc string Specify the grpc address without the protocol prefix (default "localhost:9090")
-t, --celes-rpc string Specify the rest rpc address (default "tcp://localhost:26657")
-d, --evm-address string Specify the EVM account address to use for signing (Note: the private key should be in the keystore)
-h, --help help for start
--home string The qgb orchestrator home directory
Expand Down
4 changes: 2 additions & 2 deletions docs/relayer.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ Usage:
qgb relayer start <flags> [flags]

Flags:
-c, --celes-grpc string Specify the grpc address (default "localhost:9090")
-t, --celes-http-rpc string Specify the rest rpc address (default "http://localhost:26657")
-c, --celes-grpc string Specify the grpc address without the protocol prefix (default "localhost:9090")
-t, --celes-rpc string Specify the rest rpc address (default "tcp://localhost:26657")
-a, --contract-address string Specify the contract at which the qgb is deployed
-d, --evm-address string Specify the EVM account address to use for signing (Note: the private key should be in the keystore)
-z, --evm-chain-id uint Specify the evm chain id (default 5)
Expand Down