Add 'suavex' namespace to WS interfaces (fixes test).

This commit is contained in:
Louis Thibault 2024-01-25 19:13:00 -05:00
parent 2f5d16e33f
commit a7b8207783
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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