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: rely less on foundry internals #473

Merged
merged 2 commits into from
Oct 31, 2023

Conversation

DaniPopes
Copy link
Member

Rely less on internal Foundry error messages for our own testing.
Unfortunately it looks like we still rely on the "RPC URL not found" error message to when defaulting to environment variables in StdChains.getChainWithUpdatedRpcUrl.

Unblocks foundry-rs/foundry#6131

cc @mattsse @mds1

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.

I think this is reasonable

src/StdChains.sol Outdated Show resolved Hide resolved
src/StdChains.sol Outdated Show resolved Hide resolved
Copy link
Member

@gakonst gakonst left a comment

Choose a reason for hiding this comment

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

good w me

@gakonst gakonst merged commit 267acd3 into foundry-rs:master Oct 31, 2023
3 checks passed
@DaniPopes DaniPopes deleted the foundry-cheats-update branch October 31, 2023 18:03
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.

4 participants