-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run with the WebsocketRunner #100
Comments
We migrated that into cc @antazoey, maybe we can add a config item to |
What about something like this: ApeWorX/ape#2194? |
I was trying/expecting something like that. I would suggest having the three parameters, uri and http_url could be use indistinctly:
|
what would be the use case of having a separate |
Looks great! Yes, it is good we solve this in core because I eventually want to upstream the whole |
I was considering this as well, and either deprecating |
I was just thinking in backward compatibility, people con just use uri, or if need to specify both can go as they like :)
or like this:
|
Based on the run() code, the runner class is selected automatically if not provided:
I couldn't find anywhere how to configure the provider so the ws_uri is used.
if the runner class is provided like:
silverback run "main:app" --network ethereum:mainnet:node --runner silverback.runner:WebsocketRunner
I got:
Thanks!
The text was updated successfully, but these errors were encountered: