From 01357181d0ef5df2ea5b3f74444dd7830b59d9a9 Mon Sep 17 00:00:00 2001 From: Pablo Maldonado Date: Thu, 16 Jan 2025 16:00:21 +0000 Subject: [PATCH] fix: import Signed-off-by: Pablo Maldonado --- src/svm/web3-v1/coders.ts | 2 +- src/svm/web3-v1/instructionParamsUtils.ts | 4 ++-- src/svm/web3-v1/programConnectors.ts | 6 +++--- src/svm/web3-v1/relayHashUtils.ts | 2 +- src/svm/web3-v1/solanaProgramUtils.ts | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/svm/web3-v1/coders.ts b/src/svm/web3-v1/coders.ts index ff72618e5..0edf6f8d4 100644 --- a/src/svm/web3-v1/coders.ts +++ b/src/svm/web3-v1/coders.ts @@ -13,7 +13,7 @@ import { } from "@solana/web3.js"; import bs58 from "bs58"; import { Layout } from "buffer-layout"; -import { AcrossPlusMessage } from "../types/svm"; +import { AcrossPlusMessage } from "../../types/svm"; /** * Extended Anchor accounts coder to handle large account data. diff --git a/src/svm/web3-v1/instructionParamsUtils.ts b/src/svm/web3-v1/instructionParamsUtils.ts index dd5f8cf63..47029bfa9 100644 --- a/src/svm/web3-v1/instructionParamsUtils.ts +++ b/src/svm/web3-v1/instructionParamsUtils.ts @@ -1,7 +1,7 @@ import { Keypair, TransactionInstruction, Transaction, sendAndConfirmTransaction, PublicKey } from "@solana/web3.js"; import { Program, BN } from "@coral-xyz/anchor"; -import { RelayData, SlowFillLeaf, RelayerRefundLeafSolana } from "../types/svm"; -import { SvmSpoke } from "../../target/types/svm_spoke"; +import { RelayData, SlowFillLeaf, RelayerRefundLeafSolana } from "../../types/svm"; +import { SvmSpoke } from "../../../target/types/svm_spoke"; import { LargeAccountsCoder } from "./coders"; /** diff --git a/src/svm/web3-v1/programConnectors.ts b/src/svm/web3-v1/programConnectors.ts index ddcfeefae..71f6e91a2 100644 --- a/src/svm/web3-v1/programConnectors.ts +++ b/src/svm/web3-v1/programConnectors.ts @@ -1,6 +1,6 @@ import { AnchorProvider, Idl, Program } from "@coral-xyz/anchor"; -import { getDeployedAddress } from "../DeploymentUtils"; -import { SupportedNetworks } from "../types/svm"; +import { getDeployedAddress } from "../../DeploymentUtils"; +import { SupportedNetworks } from "../../types/svm"; import { MessageTransmitterAnchor, MessageTransmitterIdl, @@ -10,7 +10,7 @@ import { SvmSpokeIdl, TokenMessengerMinterAnchor, TokenMessengerMinterIdl, -} from "./assets"; +} from "../assets"; import { getSolanaChainId, isSolanaDevnet } from "./helpers"; type ProgramOptions = { network?: SupportedNetworks; programId?: string }; diff --git a/src/svm/web3-v1/relayHashUtils.ts b/src/svm/web3-v1/relayHashUtils.ts index e81de1450..2786426b9 100644 --- a/src/svm/web3-v1/relayHashUtils.ts +++ b/src/svm/web3-v1/relayHashUtils.ts @@ -1,6 +1,6 @@ import { BN } from "@coral-xyz/anchor"; import { ethers } from "ethers"; -import { RelayerRefundLeaf, RelayerRefundLeafSolana, SlowFillLeaf } from "../types/svm"; +import { RelayerRefundLeaf, RelayerRefundLeafSolana, SlowFillLeaf } from "../../types/svm"; import { serialize } from "borsh"; /** diff --git a/src/svm/web3-v1/solanaProgramUtils.ts b/src/svm/web3-v1/solanaProgramUtils.ts index 938763a2a..b8a6964a2 100644 --- a/src/svm/web3-v1/solanaProgramUtils.ts +++ b/src/svm/web3-v1/solanaProgramUtils.ts @@ -8,7 +8,7 @@ import { SignaturesForAddressOptions, } from "@solana/web3.js"; import { deserialize } from "borsh"; -import { EventType } from "../types/svm"; +import { EventType } from "../../types/svm"; import { publicKeyToEvmAddress } from "./conversionUtils"; /**