-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Moar infura #1150
Moar infura #1150
Conversation
Not sure why the doctest failure... |
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.
Removing default import is probably something that would have to go in v5
since it'd be a breaking change.
I'll remove the warning so the tests pass, and open a different issue for removing the default. |
FWIW, all our other auto imports also default to mainnet. (eg~ looking where geth puts the IPC for mainnet) I'm absolutely in favor of being explicit, broadly across the repo. But this auto-import feature is specifically intended for quick access at the command line, so I'm not wild about giving up the quick way of connecting to prod. I especially don't want to give up It also make sense to backport this to v4 after this one gets merged, probably. |
@carver Well, P.S. hello from San Fran! |
Yeah, I suppose. It sounds like you and Piper agree on that one, and I don't feel strongly enough about the quick infura import (or the auto import consistency) to give a 👎 -- as long as we get to keep Feel free to ping again when tests pass, for a merge.
Ohai! Let's catch up off thread. (See if we can make lunch happen, or something). |
Note: |
074884d
to
0eb8041
Compare
Yup, already broken in master, and addressed in another PR IIRC. Not a blocker. |
What was wrong?
There was only two options for infura networks, and one (mainnet) was default without any suitable warnings.
How was it fixed?
I added modules for the missing networks, rinkeby and kovan. I added a module for mainnet that warned you that you were on mainnet, and loaded that as the default w3 instance for the infura package.
Both seem to work fine with my dev account.
Cute Animal Picture