forked from cerc-io/laconicd-deprecated
tests: geth client wrapper (#774)
This commit is contained in:
@@ -154,6 +154,11 @@ func GetDefaultAPINamespaces() []string {
|
||||
return []string{"eth", "net", "web3"}
|
||||
}
|
||||
|
||||
// GetAPINamespaces returns the all the available JSON-RPC API namespaces.
|
||||
func GetAPINamespaces() []string {
|
||||
return []string{"web3", "eth", "personal", "net", "txpool", "debug", "miner"}
|
||||
}
|
||||
|
||||
// DefaultJSONRPCConfig returns an EVM config with the JSON-RPC API enabled by default
|
||||
func DefaultJSONRPCConfig() *JSONRPCConfig {
|
||||
return &JSONRPCConfig{
|
||||
|
||||
Reference in New Issue
Block a user