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

Remove WEB3_INFURA_API_KEY environment variable in favor of WEB3_INFURA_PROJECT_ID #2634

Merged
merged 2 commits into from
Sep 12, 2022

Conversation

kclowes
Copy link
Collaborator

@kclowes kclowes commented Sep 7, 2022

What was wrong?

Another v6 breaking change. We had 2 environment variables that were aliases of one another for backwards compatibility.

How was it fixed?

Standardized on WEB3_INFURA_PROJECT_ID to match up with Infura's wording.

Todo:

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@kclowes kclowes marked this pull request as ready for review September 8, 2022 19:37
@kclowes kclowes requested review from fselmo and pacrob September 8, 2022 19:43
Copy link
Collaborator

@fselmo fselmo left a comment

Choose a reason for hiding this comment

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

lgtm 👍🏼... just a tiny nit; take or leave

web3/auto/infura/endpoints.py Outdated Show resolved Hide resolved
@kclowes kclowes force-pushed the remove-w3-infura-api-key branch from ef18e8b to e6197ea Compare September 9, 2022 16:00
@kclowes kclowes force-pushed the remove-w3-infura-api-key branch from e6197ea to 45869ee Compare September 9, 2022 16:11
Copy link
Contributor

@pacrob pacrob left a comment

Choose a reason for hiding this comment

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

class InfuraKeyNotFound(Exception):

There's still an exception InfuraKeyNotFound - should that change to InfuraIdNotFound or similar?

@kclowes
Copy link
Collaborator Author

kclowes commented Sep 9, 2022

Good call, @pacrob. Will update that too!

Copy link
Contributor

@pacrob pacrob left a comment

Choose a reason for hiding this comment

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

ship it!

@kclowes kclowes merged commit 76f9b6c into ethereum:master Sep 12, 2022
@kclowes kclowes deleted the remove-w3-infura-api-key branch September 12, 2022 18:01
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.

3 participants