Create a jsonrpsee HTTP client.
(url: &str)
| 223 | |
| 224 | /// Create a jsonrpsee HTTP client. |
| 225 | fn create_http_client(url: &str) -> Result<HttpClient> { |
| 226 | HttpClientBuilder::default().build(url).wrap_err("Failed to create HTTP client") |
| 227 | } |
| 228 | |
| 229 | /// Get the current block number on L1. |
| 230 | pub async fn l1_block_number(&self) -> Result<u64> { |