Skip to content

Commit

Permalink
Merge branch 'master' into arb-sepolia-list
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstph-dvx committed Jan 2, 2024
2 parents d7808b9 + 6fb043c commit 35acee1
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 @@ -7,6 +7,7 @@ import { ArbTokenList } from './types';
export const tokenListIsValid = (tokenList: ArbTokenList | TokenList) => {
const ajv = new Ajv();
addFormats(ajv);
schema.properties.tokens.maxItems = 15_000;
const validate = ajv.compile(schema);

const res = validate(tokenList);
Expand Down

0 comments on commit 35acee1

Please sign in to comment.