diff --git a/ethereum/executionclient/src/main/java/tech/pegasys/teku/ethereum/executionclient/methods/EngineGetBlobsV1.java b/ethereum/executionclient/src/main/java/tech/pegasys/teku/ethereum/executionclient/methods/EngineGetBlobsV1.java index 4e4d43a2d0a..fc87c96cc85 100644 --- a/ethereum/executionclient/src/main/java/tech/pegasys/teku/ethereum/executionclient/methods/EngineGetBlobsV1.java +++ b/ethereum/executionclient/src/main/java/tech/pegasys/teku/ethereum/executionclient/methods/EngineGetBlobsV1.java @@ -47,6 +47,11 @@ public int getVersion() { return 1; } + @Override + public boolean isOptional() { + return true; + } + @Override public SafeFuture> execute(final JsonRpcRequestParams params) { diff --git a/ethereum/executionclient/src/test/java/tech/pegasys/teku/ethereum/executionclient/methods/EngineGetBlobsV1Test.java b/ethereum/executionclient/src/test/java/tech/pegasys/teku/ethereum/executionclient/methods/EngineGetBlobsV1Test.java index 8a7ddb84de4..9a26233251b 100644 --- a/ethereum/executionclient/src/test/java/tech/pegasys/teku/ethereum/executionclient/methods/EngineGetBlobsV1Test.java +++ b/ethereum/executionclient/src/test/java/tech/pegasys/teku/ethereum/executionclient/methods/EngineGetBlobsV1Test.java @@ -55,6 +55,7 @@ public void setUp() { @Test public void shouldReturnExpectedNameAndVersion() { assertThat(jsonRpcMethod.getName()).isEqualTo("engine_getBlobs"); + assertThat(jsonRpcMethod.isOptional()).isTrue(); assertThat(jsonRpcMethod.getVersion()).isEqualTo(1); assertThat(jsonRpcMethod.getVersionedName()).isEqualTo("engine_getBlobsV1"); }