Create a jsonrpsee HTTP client.
(url: &str)
| 51 | |
| 52 | /// Create a jsonrpsee HTTP client. |
| 53 | fn create_http_client(url: &str) -> Result<HttpClient> { |
| 54 | HttpClientBuilder::default().build(url).wrap_err("Failed to create HTTP client") |
| 55 | } |
| 56 | |
| 57 | /// Get the current block number on L1. |
| 58 | pub async fn l1_block_number(&self) -> Result<u64> { |