From 747d3b369213d39e1eb85738317f3252b7bf30ca Mon Sep 17 00:00:00 2001 From: Thunnini Date: Mon, 2 Dec 2024 15:29:55 +0900 Subject: [PATCH] Minor fix --- packages/chain-validator/src/schema.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/chain-validator/src/schema.ts b/packages/chain-validator/src/schema.ts index 3b9a21e283..fb91122664 100644 --- a/packages/chain-validator/src/schema.ts +++ b/packages/chain-validator/src/schema.ts @@ -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 ); @@ -214,7 +214,7 @@ export const ChainInfoSchema = Joi.object({ 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(),