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

fix(anvil): evaluate environment variables #7344

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

zerosnacks
Copy link
Member

Motivation

Closes #7220

Currently implementation lacks evaluation of environment variables inside of foundry.toml, see thread.

Solution

Implements load_dotenv from foundry-cli, as we do in cast, chisel and foundry. This uses dotenvy to evaluate the environment variables.

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense

@mattsse mattsse merged commit 12cbf67 into foundry-rs:master Mar 8, 2024
20 checks passed
@zerosnacks zerosnacks deleted the fix/evaluate-env-in-anvil branch March 8, 2024 13:58
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.

Evaluate environment variables in foundry.toml
2 participants