We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e0feda commit 65c39ccCopy full SHA for 65c39cc
crates/test-utils/src/rpc.rs
@@ -188,7 +188,11 @@ fn next_url_inner(is_ws: bool, chain: NamedChain) -> String {
188
}
189
190
if matches!(chain, Arbitrum) {
191
- return env::var("ARBITRUM_RPC").unwrap_or("https://arb1.arbitrum.io/rpc".to_string());
+ let rpc_url = env::var("ARBITRUM_RPC").unwrap_or_default();
192
+ if !rpc_url.is_empty() {
193
+ return rpc_url;
194
+ }
195
+ return "https://arb1.arbitrum.io/rpc".to_string();
196
197
198
let reth_works = true;
0 commit comments