start http rpc server and eth namespace by default (#319)

This commit is contained in:
Manav Darji 2022-02-04 20:10:26 +05:30 committed by Victor Castell
parent 66fc055a7b
commit e10b10a3dd

View file

@ -443,11 +443,11 @@ func DefaultConfig() *Config {
GasCap: ethconfig.Defaults.RPCGasCap,
TxFeeCap: ethconfig.Defaults.RPCTxFeeCap,
Http: &APIConfig{
Enabled: false,
Enabled: true,
Port: 8545,
Prefix: "",
Host: "localhost",
Modules: []string{"web3", "net"},
Modules: []string{"eth", "web3", "net"},
},
Ws: &APIConfig{
Enabled: false,