From 94336c3da5a98e2b1c72efdda17c62c1fa9f1c98 Mon Sep 17 00:00:00 2001 From: swastik7805 Date: Tue, 7 Apr 2026 11:55:40 +0530 Subject: [PATCH] feat(engine/methods): Update schema of engine_getBlobsV2 as per Osaka.md --- src/engine/openrpc/methods/blob.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/engine/openrpc/methods/blob.yaml b/src/engine/openrpc/methods/blob.yaml index 76b49cb1b..900d3235c 100644 --- a/src/engine/openrpc/methods/blob.yaml +++ b/src/engine/openrpc/methods/blob.yaml @@ -48,9 +48,11 @@ result: name: List of blobs and corresponding cell proofs schema: - type: array - items: - $ref: '#/components/schemas/BlobAndProofV2' + oneOf: + - type: array + items: + $ref: '#/components/schemas/BlobAndProofV2' + - type: 'null' errors: - code: -38004 message: Too large request