diff --git a/crates/rpc/rpc-api/src/engine.rs b/crates/rpc/rpc-api/src/engine.rs index c4638e0bc417..65b5039965ac 100644 --- a/crates/rpc/rpc-api/src/engine.rs +++ b/crates/rpc/rpc-api/src/engine.rs @@ -22,11 +22,14 @@ pub trait EngineApi { async fn new_payload_v2(&self, payload: ExecutionPayload) -> RpcResult; /// Post Cancun payload handler + /// + /// See also #[method(name = "newPayloadV3")] async fn new_payload_v3( &self, payload: ExecutionPayload, versioned_hashes: Vec, + parent_beacon_block_root: H256, ) -> RpcResult; /// See also diff --git a/crates/rpc/rpc-engine-api/src/engine_api.rs b/crates/rpc/rpc-engine-api/src/engine_api.rs index 0cd1a268a184..5cb0b9bedac2 100644 --- a/crates/rpc/rpc-engine-api/src/engine_api.rs +++ b/crates/rpc/rpc-engine-api/src/engine_api.rs @@ -359,6 +359,7 @@ where &self, _payload: ExecutionPayload, _versioned_hashes: Vec, + _parent_beacon_block_root: H256, ) -> RpcResult { Err(jsonrpsee_types::error::ErrorCode::MethodNotFound.into()) }