I am trying to reproduce a bug which happens after my websocket connection restarts.
To pinpoint the problem I am trying to manually close (and then restart) the ws connection to my ganache-cli node.
On one tab, I have my ganache-cli up and running on localhost:8545.
In another tab, I do
geth attach ws://127.0.0.1:8545 and try to call
admin.stopWS() but I get a
ReferenceError: 'admin' is not defined at <anonymous>:1:1