diff --git a/src/utils/validateChain.ts b/src/utils/validateChain.ts index aaf8745..71f0a8d 100644 --- a/src/utils/validateChain.ts +++ b/src/utils/validateChain.ts @@ -31,7 +31,7 @@ export async function validateChainIdentifier(chainIdentifier: string, environme }; const chainIdentifiers = Object.keys(s3.chains); - const axelarIdentifier = s3["axelar"].axelarId; + const axelarIdentifier = s3["axelar"]?.axelarId || "axelar"; chainIdentifiers.push(axelarIdentifier); const foundChain = chainIdentifiers.find(