Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstph-dvx committed Dec 24, 2023
1 parent 8293265 commit 5b31ccd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib/validateTokenList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ export const tokenListIsValid = (tokenList: ArbTokenList | TokenList) => {
const { tokens, ...properties } = schema.properties;
const schemaWithoutTokensProperty = {
...schema,
properties,
properties: {
...properties,
tokens: {
...tokens,
maxItems: 15_000,
},
},
};
const validate = ajv.compile(schemaWithoutTokensProperty);

Expand Down

0 comments on commit 5b31ccd

Please sign in to comment.