From e987aae23a6c9581e8bd4dddfed69180ca93f170 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Tue, 9 Jul 2024 14:25:16 +0200 Subject: [PATCH] chore: add payloadbodies v2 to capabilities set (#1025) --- crates/rpc-types-engine/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/rpc-types-engine/src/lib.rs b/crates/rpc-types-engine/src/lib.rs index 4534b5c773a..4e5b9c52fea 100644 --- a/crates/rpc-types-engine/src/lib.rs +++ b/crates/rpc-types-engine/src/lib.rs @@ -25,6 +25,8 @@ pub use alloy_eips::eip6110::DepositRequest as DepositRequestV1; pub use alloy_eips::eip7002::WithdrawalRequest as WithdrawalRequestV1; /// The list of all supported Engine capabilities available over the engine endpoint. +/// +/// Latest spec: Prague pub const CAPABILITIES: &[&str] = &[ "engine_forkchoiceUpdatedV1", "engine_forkchoiceUpdatedV2", @@ -41,4 +43,6 @@ pub const CAPABILITIES: &[&str] = &[ "engine_newPayloadV4", "engine_getPayloadBodiesByHashV1", "engine_getPayloadBodiesByRangeV1", + "engine_getPayloadBodiesByHashV2", + "engine_getPayloadBodiesByRangeV2", ];