## Proposed Changes

Cut release v2.2.0 including proposer boost.

## Additional Info

I also updated the clippy lints for the imminent release of Rust 1.60, although LH v2.2.0 will continue to compile using Rust 1.58 (our MSRV).
This commit is contained in:
Michael Sproul
2022-04-05 02:53:09 +00:00
parent 99bb55472c
commit bac7c3fa54
10 changed files with 56 additions and 44 deletions

View File

@@ -358,7 +358,7 @@ pub async fn get_deposit_logs_in_range(
}]);
let response_body = send_rpc_request(endpoint, "eth_getLogs", params, timeout).await?;
Ok(response_result_or_error(&response_body)
response_result_or_error(&response_body)
.map_err(|e| format!("eth_getLogs failed: {}", e))?
.as_array()
.cloned()
@@ -383,7 +383,7 @@ pub async fn get_deposit_logs_in_range(
})
})
.collect::<Result<Vec<Log>, String>>()
.map_err(|e| format!("Failed to get logs in range: {}", e))?)
.map_err(|e| format!("Failed to get logs in range: {}", e))
}
/// Sends an RPC request to `endpoint`, using a POST with the given `body`.