You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: rpc/cmd.go
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
package rpc
2
2
3
3
import (
4
+
"fmt"
5
+
4
6
"github.com/cosmos/cosmos-sdk/client/flags"
5
7
"github.com/cosmos/cosmos-sdk/client/lcd"
6
8
"github.com/cosmos/cosmos-sdk/codec"
@@ -11,6 +13,7 @@ import (
11
13
// Cosmos rest-server endpoints
12
14
funcServeCmd(cdc*codec.Codec) *cobra.Command {
13
15
cmd:=lcd.ServeCommand(cdc, RegisterRoutes)
16
+
cmd.Flags().String(flagRPCAPI, "", fmt.Sprintf("Comma separated list of RPC API modules to enable: %s, %s, %s, %s", Web3Namespace, EthNamespace, PersonalNamespace, NetNamespace))
14
17
cmd.Flags().String(flagUnlockKey, "", "Select a key to unlock on the RPC server")
15
18
cmd.Flags().String(flagWebsocket, "8546", "websocket port to listen to")
0 commit comments