Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunnini committed Dec 2, 2024
1 parent bb665e0 commit 747d3b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/chain-validator/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const EIP155ChainIdSchema = Joi.string().custom((value: string) => {
});

export const ChainIdSchema = Joi.alternatives().try(
Joi.string().min(1).max(36),
Joi.string().min(1).max(50),
EIP155ChainIdSchema
);

Expand Down Expand Up @@ -214,7 +214,7 @@ export const ChainInfoSchema = Joi.object<ChainInfo>({
website: Joi.string().uri(),
}),
chainId: ChainIdSchema.required(),
chainName: Joi.string().required().min(1).max(30),
chainName: Joi.string().required().min(1).max(36),
stakeCurrency: CurrencySchema,
walletUrl: Joi.string().uri(),
walletUrlForStaking: Joi.string().uri(),
Expand Down

0 comments on commit 747d3b3

Please sign in to comment.