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

Console task #5575

Closed
kanej opened this issue Aug 5, 2024 · 0 comments
Closed

Console task #5575

kanej opened this issue Aug 5, 2024 · 0 comments
Assignees
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 Aug 5, 2024

Start a node console with the HardhatRuntimeEnvironment initialized and attached to the global scope:

hardhat console
> console.log(hre.config.solidity)
// "0.8.24"

For inspiration consider the HHv2 version of console:

task(TASK_CONSOLE, "Opens a hardhat console")

The v3 version of the run task is likely a good comparison for integration testing.

We should consider accepting a --config parameter to allow specifying a path to an alternative hardhat.config.{js,ts} file.

@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Aug 5, 2024
@fvictorio fvictorio added this to Hardhat Aug 5, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Aug 5, 2024
@kanej kanej added the v-next A Hardhat v3 development task label Aug 5, 2024
@kanej kanej moved this from Backlog to To-do in Hardhat Aug 5, 2024
@kanej kanej added this to the vnext milestone Aug 5, 2024
@kanej kanej closed this as completed Aug 15, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in Hardhat Aug 15, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 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 v-next A Hardhat v3 development task
Projects
Archived in project
Development

No branches or pull requests

2 participants