From e6a82ffba5d2a674e3c9e85e2a9d9eefe4be9812 Mon Sep 17 00:00:00 2001 From: Paul Balaji <10051819+paulbalaji@users.noreply.github.com> Date: Thu, 13 Feb 2025 00:24:45 +0000 Subject: [PATCH] fix: reading ccip hook/ism addresses (#5461) --- typescript/sdk/src/ccip/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typescript/sdk/src/ccip/utils.ts b/typescript/sdk/src/ccip/utils.ts index bd5951cb8f..04142e91b0 100644 --- a/typescript/sdk/src/ccip/utils.ts +++ b/typescript/sdk/src/ccip/utils.ts @@ -96,13 +96,13 @@ export class CCIPContractCache { getHook(origin: ChainName, destination: ChainName): string | undefined { return this.cachedAddresses[origin]?.[ - `${CCIP_HOOK_KEY_PREFIX}-${destination}` + `${CCIP_HOOK_KEY_PREFIX}_${destination}` ]; } getIsm(origin: ChainName, destination: ChainName): string | undefined { return this.cachedAddresses[destination]?.[ - `${CCIP_ISM_KEY_PREFIX}-${origin}` + `${CCIP_ISM_KEY_PREFIX}_${origin}` ]; } }