Closed edulanasca closed 6 months ago
⚡️ ~ file: WriteOnlyFunctionForm.tsx:handleWrite ~ error ZodError: [ { "code": "invalid_union", "unionErrors": [ { "issues": [ { "code": "invalid_union", "unionErrors": [ { "issues": [ { "code": "invalid_union", "unionErrors": [ { "issues": [ { "code": "invalid_type", "expected": "string", "received": "object", "path": [ 0, 0, "calldata", 1 ], "message": "Expected string, received object" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_type", "expected": "string", "received": "object", "path": [ 0, 0, "calldata", 1 ], "message": "Expected string, received object" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_type", "expected": "string", "received": "object", "path": [ 0, 0, "calldata", 1 ], "message": "Expected string, received object" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_type", "expected": "number", "received": "object", "path": [ 0, 0, "calldata", 1 ], "message": "Expected number, received object" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_type", "expected": "bigint", "received": "object", "path": [ 0, 0, "calldata", 1 ], "message": "Expected bigint, received object" } ], "name": "ZodError" } ], "path": [ 0, 0, "calldata", 1 ], "message": "Invalid input" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_type", "expected": "array", "received": "object", "path": [ 0, 0, "calldata", 1 ], "message": "Expected array, received object" } ], "name": "ZodError" } ], "path": [ 0, 0, "calldata", 1 ], "message": "Invalid input" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_type", "expected": "object", "received": "array", "path": [ 0 ], "message": "Expected object, received array" } ], "name": "ZodError" } ], "path": [ 0 ], "message": "Invalid input" } ] at get error (inpage.js:257:49713) at is.parseAsync (inpage.js:257:52179) at async OG.execute (inpage.js:2331:68667) at async Object.eval [as mutationFn] (index.js:1423:12)
Outline your proposed solution or share any ideas you have for discussing or resolving the issue.
NOTICE: Only happens with Argent wallet
solved in main of scaffold-stark-2 , at this PR
scaffold-stark-2
Issue Overview
Proposed Solutions or Ideas
Outline your proposed solution or share any ideas you have for discussing or resolving the issue.