From b5aa2d164d6a2573f5e5d201615473bebc2a84d9 Mon Sep 17 00:00:00 2001 From: Pablo Maldonado Date: Mon, 13 Jan 2025 14:23:08 +0000 Subject: [PATCH] feat(svm): shorten svm chain ids (#817) Signed-off-by: Pablo Maldonado --- src/svm/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/svm/helpers.ts b/src/svm/helpers.ts index 54a9d518e..7b737280d 100644 --- a/src/svm/helpers.ts +++ b/src/svm/helpers.ts @@ -7,7 +7,7 @@ import { ethers } from "ethers"; */ export const getSolanaChainId = (cluster: "devnet" | "mainnet"): BigNumber => { return BigNumber.from( - BigInt(ethers.utils.keccak256(ethers.utils.toUtf8Bytes(`solana-${cluster}`))) & BigInt("0xFFFFFFFFFFFFFFFF") + BigInt(ethers.utils.keccak256(ethers.utils.toUtf8Bytes(`solana-${cluster}`))) & BigInt("0xFFFFFFFFFFFF") ); };