Skip to content

Commit

Permalink
chore: add payloadbodies v2 to capabilities set
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Jul 9, 2024
1 parent 83343b1 commit 84aae9c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/rpc-types-engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -41,4 +43,6 @@ pub const CAPABILITIES: &[&str] = &[
"engine_newPayloadV4",
"engine_getPayloadBodiesByHashV1",
"engine_getPayloadBodiesByRangeV1",
"engine_getPayloadBodiesByHashV2",
"engine_getPayloadBodiesByRangeV2",
];

0 comments on commit 84aae9c

Please sign in to comment.