Skip to content

Commit

Permalink
fix: import
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Maldonado <[email protected]>
  • Loading branch information
md0x committed Jan 16, 2025
1 parent 6aafec8 commit 0135718
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/svm/web3-v1/coders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/svm/web3-v1/instructionParamsUtils.ts
Original file line number Diff line number Diff line change
@@ -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";

/**
Expand Down
6 changes: 3 additions & 3 deletions src/svm/web3-v1/programConnectors.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -10,7 +10,7 @@ import {
SvmSpokeIdl,
TokenMessengerMinterAnchor,
TokenMessengerMinterIdl,
} from "./assets";
} from "../assets";
import { getSolanaChainId, isSolanaDevnet } from "./helpers";

type ProgramOptions = { network?: SupportedNetworks; programId?: string };
Expand Down
2 changes: 1 addition & 1 deletion src/svm/web3-v1/relayHashUtils.ts
Original file line number Diff line number Diff line change
@@ -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";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/svm/web3-v1/solanaProgramUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/**
Expand Down

0 comments on commit 0135718

Please sign in to comment.