Skip to content

Commit

Permalink
fix: validate bytes[] as regular bytes
Browse files Browse the repository at this point in the history
Those need to be passed as just regular bytes, otherwise
ethers won't parse it.
  • Loading branch information
Sekhmet committed Aug 27, 2024
1 parent ada1736 commit 3ed8bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/ui/src/helpers/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ ajv.addFormat('int256[]', {
});

ajv.addFormat('bytes[]', {
validate: getArrayValidator(bytesValidator)
validate: bytesValidator
});

ajv.addFormat('long', {
Expand Down

0 comments on commit 3ed8bd2

Please sign in to comment.