fix(contracts): align byte read schema with provider

This commit is contained in:
morluto
2026-09-29 08:20:22 +08:00
parent 593a8e12ce
commit f580d9d073
+1 -1
View File
@@ -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,
}),
},