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

Improve proxy support #3432

Merged
merged 9 commits into from
Feb 8, 2023
Merged

Improve proxy support #3432

merged 9 commits into from
Feb 8, 2023

Conversation

fvictorio
Copy link
Member

This PR:

  • Adds support for the http_proxy environment variable both for downloading the compiler and for the HTTP provider. This means that both forking and connecting to networks via JSON-RPC should use the proxy.
  • Adds support for using http_proxy in hardhat-etherscan.

As part of this, I'm technically introducing a breaking change: the HTTP_PROXY and HTTPS_PROXY variables don't work anymore for the compiler download. The first one (all uppercase) is not the most commonly used, for fun historical reasons. And the second one is misleading: we use the same proxy for both http and https.

@changeset-bot
Copy link

changeset-bot bot commented Dec 16, 2022

🦋 Changeset detected

Latest commit: 6a3c6ec

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@nomiclabs/hardhat-etherscan Patch
hardhat Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Dec 16, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 8, 2023 at 8:36PM (UTC)
hardhat-storybook ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 8, 2023 at 8:36PM (UTC)

@umakanth-fmr
Copy link

@fvictorio , any tentative timeline or release this PR planned ?

@fvictorio
Copy link
Member Author

Can't promise a date but hopefully soon? It will almost surely be included in our next release.

Copy link
Member

@alcuadrado alcuadrado left a comment

Choose a reason for hiding this comment

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

I only left a comment in a changeset.

Co-authored-by: Patricio Palladino <email@patriciopalladino.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants