tests: geth client wrapper (#774)

This commit is contained in:
Federico Kunze Küllmer
2021-11-30 10:16:40 +01:00
committed by GitHub
parent 5d2798aa7e
commit 5a491537ca
3 changed files with 32 additions and 2 deletions
+5
View File
@@ -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{