There was an error while loading. Please reload this page.
1 parent 7299960 commit 5ce689eCopy full SHA for 5ce689e
1 file changed
shared/src/jrpc.rs
@@ -277,7 +277,8 @@ mod tests {
277
278
#[test_log::test(tokio::test)]
279
async fn test_block_and_logs() {
280
- let client = super::Client::new("https://eth.merkle.io/");
+ let url = std::env::var("RPC_URL").unwrap_or_else(|_| "https://eth.merkle.io/".to_string());
281
+ let client = super::Client::new(&url);
282
let n: u64 = 12_911_679;
283
284
let b = client.block(format!("0x{:x}", n)).await.unwrap();
0 commit comments