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

Testnet deployments don't work with env variable private keys #39

Open
Pet3ris opened this issue Dec 10, 2020 · 0 comments
Open

Testnet deployments don't work with env variable private keys #39

Pet3ris opened this issue Dec 10, 2020 · 0 comments

Comments

@Pet3ris
Copy link

Pet3ris commented Dec 10, 2020

Hi There,

When a ~/.ethereum/<network> private key file is not provided for a given network, the alternative environment variable provision may not work.

Tested using the script: https://github.com/compound-finance/compound-protocol/blob/master/spec/sim/0005-grants/hypothetical_upgrade.scen and seeing output:

Running script: spec/sim/0005-grants/deploy.scen...
Command: PrintTransactionLogs
Command: ComptrollerImpl Deploy Standard StdComptrollerG6
EventProcessingError: From required but not given for ComptrollerImpl. Please set a default alias or open unlocked account

I've tried:

  • creating an .env file in the root project directory with ACCOUNT=XXX
  • adding it like so ACCOUNT=XXX yarn ...
@Pet3ris Pet3ris changed the title Deployments don't work with env variable private keys Testnet deployments don't work with env variable private keys Dec 10, 2020
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

No branches or pull requests

1 participant