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

Fix compiler download #4502

Merged
merged 2 commits into from
Oct 19, 2023
Merged

Fix compiler download #4502

merged 2 commits into from
Oct 19, 2023

Conversation

fvictorio
Copy link
Member

@fvictorio fvictorio commented Oct 19, 2023

The compiler downloader was broken because it was trying to write an ArrayBuffer to a file. This PR fixes it by converting the ArrayBuffer to a Buffer before writing it to the file.

This was working before because undici was returning a Uint8Array under the hood, but this was fixed in the latest version.

The compiler downloader was broken because it was trying to write an
ArrayBuffer to a file. This commit fixes it by converting the
ArrayBuffer to a Buffer before writing it to the file.

This was working before because undici was returning a
Uint8Array under the hood, but this was fixed in the latest version.
@changeset-bot
Copy link

changeset-bot bot commented Oct 19, 2023

🦋 Changeset detected

Latest commit: abca5ab

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

This PR includes changesets to release 1 package
Name Type
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 Oct 19, 2023

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

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 19, 2023 10:10am
hardhat-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 19, 2023 10:10am

@fvictorio fvictorio merged commit 93ed1c2 into main Oct 19, 2023
@fvictorio fvictorio deleted the fix-compiler-downloader branch October 19, 2023 10:37
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:ready This issue is ready to be worked on
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants