You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
fix 2d array bug of abiSchemaToJsonSchema in web3-validator (#6836)
* fix 2d array bug of abiSchemaToJsonSchema in web3-validator
* fix 2d array bug of abiSchemaToJsonSchema in web3-validator(add comments)
* fix abi json schema test case:
- 123 cannot be uint
- test case("nested tuple object in nested array") has a wrong data structure of tuple[][3]
* fix function abiSchemaToJsonSchema in iterating over arraySizes array to each dimension
* FIX:
1. fix function convertToZod to distinguish tuple and array, add checks in maxItems & minItems
2. revert abiSchemaToJsonSchema of utils and fix
3. add testcases in validator.validate
* UPDATE: contract test
---------
Co-authored-by: Yi Zhang <[email protected]>
0 commit comments