-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
fix: include URI in provider.network_choice
#2449
base: main
Are you sure you want to change the base?
fix: include URI in provider.network_choice
#2449
Conversation
@@ -72,14 +71,6 @@ def test_uri(geth_provider): | |||
assert geth_provider.uri == GETH_URI | |||
|
|||
|
|||
@geth_process_test | |||
def test_uri_localhost_not_running_uses_random_default(config): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this now happens at the provider-connection level, so the config value is None when not actually configured (and doesn't get set to random RPC). So the behavior is the same, just happens at a different spot, it helps us know when a value was specifically configured by the user (and not injected here)
2305bda
to
a78af4b
Compare
What I did
fixes: ApeWorX/silverback#179
How I did it
When a URI is configured or passed in for a connection, use that in
provider.network_choice
How to verify it
silverback uses the configured URI everywhere now.
I made sure:
Checklist