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

Refinement of import resolution #5995

Open
6 tasks
Tracked by #5988
kanej opened this issue Nov 27, 2024 · 0 comments
Open
6 tasks
Tracked by #5988

Refinement of import resolution #5995

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
Milestone

Comments

@kanej
Copy link
Member

kanej commented Nov 27, 2024

Hardhat 3 has reworked the Solidity import resolution mechanism to include support for solc remappings.

We are considering further enhancements including:

  • Maybe accept npm:... imports?
  • Maybe change npm/ to npm$/?

TODO

  • Investigate the above options
  • Forbid local direct imports to npm/..., and local files in npm/
  • Trim the remappings, leaving only the ones that are going to be used in a given compilation job, maybe only on production builds?
  • Complete Resolver tests coverage
@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 added the v-next A Hardhat v3 development task label Nov 27, 2024
@kanej kanej added this to the Public Alpha milestone Nov 27, 2024
@kanej kanej moved this from Backlog to To-do in Hardhat Nov 27, 2024
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