From a7b8207783f8d43dc9b9d8b4ffcb900bc7f76893 Mon Sep 17 00:00:00 2001 From: Louis Thibault Date: Thu, 25 Jan 2024 19:13:00 -0500 Subject: [PATCH] Add 'suavex' namespace to WS interfaces (fixes test). --- cmd/geth/config.go | 2 +- cmd/geth/consolecmd_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/geth/config.go b/cmd/geth/config.go index d1cde3766e..d29a8cfc54 100644 --- a/cmd/geth/config.go +++ b/cmd/geth/config.go @@ -118,7 +118,7 @@ func defaultNodeConfig() node.Config { cfg.Name = clientIdentifier cfg.Version = params.VersionWithCommit(git.Commit, git.Date) cfg.HTTPModules = append(cfg.HTTPModules, "eth", "suavex") - cfg.WSModules = append(cfg.WSModules, "eth") + cfg.WSModules = append(cfg.WSModules, "eth", "suavex") cfg.IPCPath = "geth.ipc" return cfg } diff --git a/cmd/geth/consolecmd_test.go b/cmd/geth/consolecmd_test.go index 0559c0566a..1e28265e9d 100644 --- a/cmd/geth/consolecmd_test.go +++ b/cmd/geth/consolecmd_test.go @@ -31,7 +31,7 @@ import ( const ( ipcAPIs = "admin:1.0 clique:1.0 debug:1.0 engine:1.0 eth:1.0 miner:1.0 net:1.0 rpc:1.0 suavex:1.0 txpool:1.0 web3:1.0" - httpAPIs = "eth:1.0 net:1.0 rpc:1.0 web3:1.0" + httpAPIs = "eth:1.0 net:1.0 rpc:1.0 suavex:1.0 web3:1.0" ) // spawns geth with the given command line args, using a set of flags to minimise