From f580d9d07382bc9642bce896d431c827955339e4 Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Tue, 29 Sep 2026 08:20:22 +0800 Subject: [PATCH] fix(contracts): align byte read schema with provider --- src/contracts/hopperMemoryContracts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contracts/hopperMemoryContracts.ts b/src/contracts/hopperMemoryContracts.ts index 3eb032522..0488ea5ac 100644 --- a/src/contracts/hopperMemoryContracts.ts +++ b/src/contracts/hopperMemoryContracts.ts @@ -15,7 +15,7 @@ export const HOPPER_MEMORY_TOOL_DEFINITIONS = [ "Read at most 4,096 analyzed bytes from one provider-normalized virtual address. The hexadecimal payload reports the exact returned length; incomplete reads remain explicit and unsupported provider APIs return typed capability unavailability.", inputSchema: z.object({ address, - length: z.number().int().min(1).default(256), + length: z.number().int().min(1).max(4_096).default(256), document, }), },