From 557ebef283a65cf13a1afd885151a6a9896cd0b8 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Fri, 20 Dec 2024 12:36:51 +0100 Subject: [PATCH] chore: use try into directly (#13476) --- crates/ethereum/node/tests/e2e/rpc.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/ethereum/node/tests/e2e/rpc.rs b/crates/ethereum/node/tests/e2e/rpc.rs index 86777c7937..00070e354e 100644 --- a/crates/ethereum/node/tests/e2e/rpc.rs +++ b/crates/ethereum/node/tests/e2e/rpc.rs @@ -239,11 +239,7 @@ async fn test_flashbots_validate_v4() -> eyre::Result<()> { }, execution_payload: block_to_payload_v3(payload.block().clone()), blobs_bundle: BlobsBundleV1::new([]), - execution_requests: payload - .requests() - .map(|reqs| alloy_rpc_types_beacon::requests::ExecutionRequestsV4::try_from(&reqs)) - .unwrap() - .unwrap(), + execution_requests: payload.requests().unwrap().try_into().unwrap(), target_blobs_per_block: eip4844::TARGET_BLOBS_PER_BLOCK, signature: Default::default(), },