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

chore: make environment variable error nicer #9353

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Nov 19, 2024

Before: [FAIL: setup failed: vm.createSelectFork: Failed to resolve env var `ETH_NODE_URI_MAINNET` in `${ETH_NODE_URI_MAINNET}`: environment variable not found] setUp() (gas: 0)

After: [FAIL: setup failed: vm.createSelectFork: environment variable `ETH_NODE_URI_MAINNET` not found] setUp() (gas: 0)

@mattsse mattsse merged commit 9b49082 into master Nov 19, 2024
18 of 21 checks passed
@mattsse mattsse deleted the dani/env-error branch November 19, 2024 14:50
@DaniPopes
Copy link
Member Author

Forge-std failure: foundry-rs/forge-std#632

DaniPopes added a commit to foundry-rs/forge-std that referenced this pull request Nov 19, 2024
There are no stability guarantees about error messages.

This specific error message was changed in
foundry-rs/foundry#9353.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants