Closed antazoey closed 1 year ago
I was having trouble getting this to work with my configuration:
foundry:
- port: 8545
- host: http://44.200.33.91
or alternatively:
foundry:
- host: http://44.200.33.91:8545
ape console
WARNING: Unable to load CLI endpoint for plugin 'ape_console'
RecursionError: maximum recursion depth exceeded while calling a Python object
(Use `--verbosity DEBUG` to see full stack-trace)
Error: No such command 'console'.
@sabotagebeats do you maybe need to use https
instead of http
?
i can do the same to ape-hardhat if we like this
@sabotagebeats do you maybe need to use
https
instead ofhttp
?
it does work with http if I don't use the ape configuration file to set the anvil network.
Using this branch, i can connect to remote anvil nodes!
INFO: Connecting to existing 'anvil' process.
...
In [2]: provider.uri
Out[2]: 'http://xx.x00.xx.xx:8545'
I was having trouble getting this to work with my configuration:
foundry: - port: 8545 - host: http://44.200.33.91
or alternatively:
foundry: - host: http://44.200.33.91:8545
ape console
WARNING: Unable to load CLI endpoint for plugin 'ape_console' RecursionError: maximum recursion depth exceeded while calling a Python object (Use `--verbosity DEBUG` to see full stack-trace) Error: No such command 'console'.
I was able to get it to work:
do this instead:
foundry:
host: http://44.200.33.91:8545
What I did
Allows specifying a host for connecting remotely to an anvil node.
How I did it
When the user puts
host
, use that instead of launching the process. Basically, works the same except it won't try to launch anything; it will only try to connect.port
field will trigger deprecation warningHow to verify it
Checklist