From 0992cea7d987b7a748ae06c1b2a62cc7f9d44c98 Mon Sep 17 00:00:00 2001 From: Christophe Date: Wed, 24 Apr 2024 18:33:50 +0000 Subject: [PATCH] fix: Ignore max items error --- src/lib/validateTokenList.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/validateTokenList.ts b/src/lib/validateTokenList.ts index 82f48831..d2efabbd 100644 --- a/src/lib/validateTokenList.ts +++ b/src/lib/validateTokenList.ts @@ -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);