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

Support config var usage from Hardhat console #6350

Open
kanej opened this issue Feb 19, 2025 · 0 comments
Open

Support config var usage from Hardhat console #6350

kanej opened this issue Feb 19, 2025 · 0 comments
Assignees
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 Feb 19, 2025

Config vars are by default encrypted if using the keystore. We want to avoid leaking the password into the console history.
For the moment we are throwing an error if a config var is used within the console we throw an error. This limitation should be removed.
This will effect more than console, indeed it will effect everything that uses requestSecretInput from hre.interruptions.
The problem is that our implementation of requestSecretInput doesn't prevent the stdin to flow into the console. We should investigate how to fix that.

@kanej kanej added the v-next A Hardhat v3 development task label Feb 19, 2025
@kanej kanej added this to the Public Alpha Feature Rollout milestone Feb 19, 2025
@kanej kanej added this to Hardhat Feb 19, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Feb 19, 2025
@kanej kanej moved this from Backlog to To-do in Hardhat Feb 19, 2025
@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Feb 19, 2025
@antico5 antico5 moved this from To-do to In Progress in Hardhat Mar 13, 2025
@antico5 antico5 self-assigned this Mar 13, 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: In Progress
Development

No branches or pull requests

2 participants