()
| 440 | /// `rpc_client` with an `https://` URL must also build without connecting. |
| 441 | #[tokio::test] |
| 442 | async fn rpc_client_https_scheme_builds_provider() { |
| 443 | let addr: Url = "https://127.0.0.1:8551".parse().unwrap(); |
| 444 | let jwt = JwtSecret::random(); |
| 445 | let _provider = |
| 446 | BaseEngineClient::<RootProvider, RootProvider<Base>>::rpc_client::<Base>(addr, jwt) |
| 447 | .await |
| 448 | .unwrap(); |
| 449 | } |
| 450 | |
| 451 | /// `rpc_client` with an unsupported URL scheme must fail with a clear validation error. |
| 452 | #[tokio::test] |