From 82fb7916ede50d6c15e14f4ca6f48e3258b11504 Mon Sep 17 00:00:00 2001 From: Kasey Kirkham Date: Tue, 14 May 2024 21:18:49 -0500 Subject: [PATCH] update exchange capabilities list + comment fix --- beacon-chain/execution/engine_client.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/beacon-chain/execution/engine_client.go b/beacon-chain/execution/engine_client.go index 424165ae84da..12fe2682f64f 100644 --- a/beacon-chain/execution/engine_client.go +++ b/beacon-chain/execution/engine_client.go @@ -33,12 +33,19 @@ var ( supportedEngineEndpoints = []string{ NewPayloadMethod, NewPayloadMethodV2, + NewPayloadMethodV3, + NewPayloadMethodV4, ForkchoiceUpdatedMethod, ForkchoiceUpdatedMethodV2, + ForkchoiceUpdatedMethodV3, GetPayloadMethod, GetPayloadMethodV2, + GetPayloadMethodV3, + GetPayloadMethodV4, GetPayloadBodiesByHashV1, GetPayloadBodiesByRangeV1, + GetPayloadBodiesByHashV2, + GetPayloadBodiesByRangeV2, } ) @@ -74,7 +81,7 @@ const ( GetPayloadBodiesByHashV2 = "engine_getPayloadBodiesByHashV2" // GetPayloadBodiesByRangeV1 is the engine_getPayloadBodiesByRangeX JSON-RPC method for pre-Electra payloads. GetPayloadBodiesByRangeV1 = "engine_getPayloadBodiesByRangeV1" - // GetPayloadBodiesByRangeV2 is the engine_getPayloadBodiesByRangeX method introduced by Electra. + // GetPayloadBodiesByRangeV2 is the engine_getPayloadBodiesByRangeX JSON-RPC method introduced by Electra. GetPayloadBodiesByRangeV2 = "engine_getPayloadBodiesByRangeV2" // ExchangeCapabilities request string for JSON-RPC. ExchangeCapabilities = "engine_exchangeCapabilities"