Skip to content
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

Deprecate no infura api key in v5 #1247

Merged
merged 1 commit into from
Feb 20, 2019

Conversation

kclowes
Copy link
Collaborator

@kclowes kclowes commented Feb 18, 2019

What was wrong?

Starting March 27th, Infura will officially stop supporting requests with no API key. Infura calls it a project ID, so I allow users to use either WEB3_INFURA_API_KEY, or WEB3_INFURA_PROJECT_ID env var. I took out the ability to use INFURA_API_KEY for this branch, but will leave it in for the v4 branch.

There is already a warning in place if there is no API key, but I updated the message. After March 27th, we should consider throwing an error if there is no key so the user can have a nice message.

Related to Issue #1246

How was it fixed?

See above.

Cute Animal Picture

bulldog-puppy-paw-up

@pipermerriam
Copy link
Member

After March 27th, we should consider throwing an error if there is no key so the user can have a nice message.

I think we should probably schedule the exception raising around a week before that date at the very latest to give people time to respond. While this is technically a breaking change, I do think it should be backported to v4 since users would encounter a less friendly error message if we don't and thus, it's a breaking change either way.

Copy link
Member

@pipermerriam pipermerriam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kclowes kclowes changed the title [WIP] Deprecate no infura api key Deprecate no infura api key in v5 Feb 20, 2019
@kclowes kclowes merged commit 2271ba2 into ethereum:master Feb 20, 2019
@kclowes kclowes deleted the deprecate-no-infura-api-key branch February 20, 2019 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants