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

Hardhat 3 Build System Integration testing and cleanup #5989

Open
13 tasks
kanej opened this issue Nov 27, 2024 · 0 comments
Open
13 tasks

Hardhat 3 Build System Integration testing and cleanup #5989

kanej opened this issue Nov 27, 2024 · 0 comments
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task

Comments

@kanej
Copy link
Member

kanej commented Nov 27, 2024

The Hardhat 3 build system is in place, but there is a gap in test coverage and features before we consider it ready for production. This ticket captures those tasks.

TODO

Hardhat

  • Validate the rest of the config paths
  • Test the config paths resolution
  • Running the tests deletes your compilers

hardhat-mocha and hardhat-node-test runner

  • Test the config paths resolution in hardhat-mocha
  • Test the config paths resolution in hardhat-node-test-runner

Config

  • Complete the resolution and validtion of the Solidity config
  • Improve the build profiles resolution by implementing a merge algorithm

Compilation Job

  • Deep merge the output selection — Note: this is not done during config resolution in v3, as it depends on the actual compilation job
  • Test the compilation job

Artifacts

  • v2 feature to suggest similar names when name cannot be found
  • Linking may require a fuzzy matcher of source names
    e.g. instead of npm/[email protected]/A.sol:A, we may want to accept A.sol:A if it isn’t ambiguous

Polishing

  • Print a helpful error message if someone tries to compile with solc <0.4.11, as it’s not supported

hardhat utils

  • Test getAllDirectoriesMatching
@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Nov 27, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Nov 27, 2024
@kanej kanej changed the title Integration testing and cleanup Hardhat 3 Build System Integration testing and cleanup Nov 27, 2024
@kanej kanej moved this from Backlog to To-do in Hardhat Nov 27, 2024
@kanej kanej added this to the Public Alpha milestone Nov 27, 2024
@kanej kanej added the v-next A Hardhat v3 development task label Nov 27, 2024
@kanej kanej modified the milestones: Public Alpha, Feature Rollout Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Projects
Status: To-do
Development

No branches or pull requests

1 participant