USE RPC URL ALIASES IN foundry.toml, INSTEAD OF THE ACTUAL URLS.
#4303
Kelechikizito
started this conversation in
Ideas
Replies: 1 comment
-
|
Interesting. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@ciaranightingale taught that the
rpc_urlfor our fork tests ought to be placed in thefoundry.toml. However, I just learnt of a safer approach - rather than placing the actual URLs in thefoundry.toml, you store the urls in your.envfile and use the aliases in yourfoundry.toml.This is what I mean below:
Before:
After:
A simple yet safer modification, I presume.
P.S: I ran
source .envcommand before running the tests again- all passed.Beta Was this translation helpful? Give feedback.
All reactions