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

PRIVATE_KEY not needed for simulation #202

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Conversation

aelmanaa
Copy link
Collaborator

@aelmanaa aelmanaa commented Jan 9, 2024

Hi team,

ISSUE:

  1. In a terminal, clone the functions-hardhat-starter-kit repository and change to the functions-hardhat-starter-kit directory.

    git clone https://github.com/smartcontractkit/functions-hardhat-starter-kit && \
    cd functions-hardhat-starter-kit
  2. Run npm install to install the dependencies.

    npm install
  3. Run npx hardhat functions-simulate-script

    npx hardhat functions-simulate-script

--> Error:

 Please set the encryption password by running: npx env-enc set-pw
 ...
 Set the PRIVATE_KEY environment variable with your EVM wallet private key

Problem:

Users shouldn't be required to provide a PRIVATE_KEY to simulate a request.

@aelmanaa aelmanaa merged commit 6e994a5 into main Jan 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants