Bump Rust version to 1.88 (#7787)

In #7743, rust version was bumped:
- msrv to 1.87
- `Dockerfile` to 1.88

We also need to bump the other docker images as well, and might as well keep them all consistent at 1.88.
This commit is contained in:
Jimmy Chen
2025-07-25 15:52:51 +10:00
committed by GitHub
parent b904956074
commit 1a6eeb228c
5 changed files with 10 additions and 16 deletions

View File

@@ -237,15 +237,9 @@ pub async fn handle_rejection(err: warp::Rejection) -> Result<impl warp::Reply,
pub async fn convert_rejection<T: Reply>(res: Result<T, warp::Rejection>) -> Response {
match res {
Ok(response) => response.into_response(),
Err(e) => match handle_rejection(e).await {
Ok(reply) => reply.into_response(),
// We can simplify this once Rust 1.82 is MSRV
#[allow(unreachable_patterns)]
Err(_) => warp::reply::with_status(
warp::reply::json(&"unhandled error"),
eth2::StatusCode::INTERNAL_SERVER_ERROR,
)
.into_response(),
},
Err(e) => {
let Ok(reply) = handle_rejection(e).await;
reply.into_response()
}
}
}