fix: set eth
, web3
and net
namespaces as default (#391)
This commit is contained in:
parent
fc16feb1aa
commit
2bd107ee79
@ -19,7 +19,7 @@ To enable RPC server use the following flag (set to true by default).
|
||||
ethermintd start --evm-rpc.enable
|
||||
```
|
||||
|
||||
By default, only `eth` namespace is enabled. In order to enable other namespaces use flag `--evm-rpc.api`.
|
||||
`Eth`,`Net` and `Web3` namespaces are enabled by default. In order to enable other namespaces use flag `--evm-rpc.api`.
|
||||
|
||||
```
|
||||
ethermintd start --evm-rpc.api eth,txpool,personal,net,debug,web3
|
||||
|
@ -18,7 +18,7 @@ const (
|
||||
|
||||
// GetDefaultAPINamespaces returns the default list of JSON-RPC namespaces that should be enabled
|
||||
func GetDefaultAPINamespaces() []string {
|
||||
return []string{"eth"}
|
||||
return []string{"eth", "net", "web3"}
|
||||
}
|
||||
|
||||
// AppConfig helps to override default appConfig template and configs.
|
||||
|
Loading…
Reference in New Issue
Block a user