Skip to content

Conversation

@alcuadrado
Copy link
Member

No description provided.

@alcuadrado alcuadrado requested review from Copilot and galargh August 12, 2025 12:34
@changeset-bot
Copy link

changeset-bot bot commented Aug 12, 2025

🦋 Changeset detected

Latest commit: 6682140

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

This PR includes changesets to release 21 packages
Name Type
hardhat Patch
@nomicfoundation/hardhat-errors Patch
@nomicfoundation/hardhat-ethers-chai-matchers Patch
@nomicfoundation/hardhat-ignition Patch
@nomicfoundation/ignition-core Patch
@nomicfoundation/hardhat-ignition-ethers Patch
@nomicfoundation/ignition-ui Patch
@nomicfoundation/hardhat-ignition-viem Patch
@nomicfoundation/hardhat-keystore Patch
@nomicfoundation/hardhat-mocha Patch
@nomicfoundation/hardhat-network-helpers Patch
@nomicfoundation/hardhat-node-test-reporter Patch
@nomicfoundation/hardhat-node-test-runner Patch
@nomicfoundation/hardhat-test-utils Patch
@nomicfoundation/hardhat-typechain Patch
@nomicfoundation/hardhat-utils Patch
@nomicfoundation/hardhat-toolbox-mocha-ethers Patch
@nomicfoundation/hardhat-verify Patch
@nomicfoundation/hardhat-viem Patch
@nomicfoundation/hardhat-viem-assertions Patch
@nomicfoundation/hardhat-zod-utils 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

This comment was marked as outdated.

@alcuadrado alcuadrado requested a review from Copilot August 12, 2025 12:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR optimizes build info processing by extracting Solidity compiler versions from build info IDs using regex pattern matching instead of reading and parsing the entire build info JSON files.

  • Eliminates unnecessary file I/O operations by parsing version information from build info ID format
  • Adds regex pattern matching to extract Solidity version components from build info IDs
  • Includes proper handling for non-Hardhat generated build infos by filtering them out

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
v-next/hardhat/src/internal/builtin-plugins/solidity-test/edr-artifacts.ts Replaces file parsing with regex extraction of Solidity versions from build info IDs
.changeset/silent-jobs-wash.md Documents the performance optimization in the changelog

@antico5 antico5 self-requested a review August 12, 2025 15:21
@alcuadrado alcuadrado added this pull request to the merge queue Aug 12, 2025
Merged via the queue into main with commit ceb575c Aug 12, 2025
374 of 376 checks passed
@alcuadrado alcuadrado deleted the dont-parse-build-infos-if-not-needed branch August 12, 2025 15:28
@github-project-automation github-project-automation bot moved this from Backlog to Done in Hardhat Aug 12, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2025
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