Lesson 10: "ValueError: Unable to expand environment..." #114
-
I did copy exactly every step from Patrick, unfortunately, I get this error, when I do:
I don't know how to fix this. Here is my brownie-config: I would be really thankful, if someone can help me. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
Do you mind sharing the contents of your helpful_scripts.py file? It maybe that you need to add network, and config to your |
Beta Was this translation helpful? Give feedback.
-
Ah, but I noticed in your previous screen shot, you have |
Beta Was this translation helpful? Give feedback.
-
It looks like your You'll also need the line https://github.com/PatrickAlphaC/aave_brownie_py/blob/main/.env You'll need to uncomment the lines (remove the #'s) |
Beta Was this translation helpful? Give feedback.
-
Thanks guys, I just set up a new brownie init and it’s been working but
still no highlight for the .env file.
…On Mon, Jan 24, 2022 at 5:32 PM Patrick Collins ***@***.***> wrote:
Or add dotenv: .env to your brownie-config.yaml
—
Reply to this email directly, view it on GitHub
<#114 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWQ7ZR2ECKUPVMSG6YQ2QPDUXXHRLANCNFSM5E7WT5GQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
<smartcontractkit/full-blockchain-solidity-course-py/repo-discussions/114/comments/2038406
@github.com>
|
Beta Was this translation helpful? Give feedback.
It looks like your
$WEB3_INFURA_PROJECT_ID
is undefined. Do you have that in your.env
file like in this repo?You'll also need the line
dotenv: .env
in your config.https://github.com/PatrickAlphaC/aave_brownie_py/blob/main/.env
You'll need to uncomment the lines (remove the #'s)