From 42ba08b75f3efb97ba112bb614b903d335d7e313 Mon Sep 17 00:00:00 2001 From: Alexey Osipov Date: Wed, 7 Jun 2023 18:33:52 +0300 Subject: [PATCH] Temporary disable cancun engine_ APIs (cherry picked from commit ccfb60131f83d65b2db8069eae1f07b48ed5acd3) --- .../Nethermind.Merge.Plugin.Test/EngineModuleTests.V1.cs | 1 + .../Handlers/EngineRpcCapabilitiesProvider.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.V1.cs b/src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.V1.cs index ae0a6c32812..c43b41e40e3 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.V1.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.V1.cs @@ -1540,6 +1540,7 @@ await rpc.engine_forkchoiceUpdatedV1(forkChoiceState1, } } + [Ignore("Ignore till EIP-4844 engine API update")] [Test] public async Task Should_return_capabilities() { diff --git a/src/Nethermind/Nethermind.Merge.Plugin/Handlers/EngineRpcCapabilitiesProvider.cs b/src/Nethermind/Nethermind.Merge.Plugin/Handlers/EngineRpcCapabilitiesProvider.cs index 25bbf8c8ef3..6c737bd10c8 100644 --- a/src/Nethermind/Nethermind.Merge.Plugin/Handlers/EngineRpcCapabilitiesProvider.cs +++ b/src/Nethermind/Nethermind.Merge.Plugin/Handlers/EngineRpcCapabilitiesProvider.cs @@ -41,8 +41,8 @@ public IReadOnlyDictionary GetEngineCapabilities() #endregion #region Cancun - _capabilities[nameof(IEngineRpcModule.engine_getPayloadV3)] = spec.IsEip4844Enabled; - _capabilities[nameof(IEngineRpcModule.engine_newPayloadV3)] = spec.IsEip4844Enabled; + // _capabilities[nameof(IEngineRpcModule.engine_getPayloadV3)] = spec.IsEip4844Enabled; + // _capabilities[nameof(IEngineRpcModule.engine_newPayloadV3)] = spec.IsEip4844Enabled; #endregion }