Skip to content

Commit

Permalink
fix: increase max items to 15k (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstph-dvx authored Apr 24, 2024
1 parent d3afd00 commit 28e7e34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/validateTokenList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const tokenListIsValid = (tokenList: ArbTokenList | TokenList) => {
const ajv = new Ajv();
addFormats(ajv);
schema.properties.tokens.minItems = 0;
schema.properties.tokens.maxItems = 15_000;
const validate = ajv.compile(schema);

const res = validate(tokenList);
Expand Down

0 comments on commit 28e7e34

Please sign in to comment.