Skip to content

Commit ecd23ff

Browse files
committed
fix: update imports to use @pythnetwork/contract-manager instead of relative imports
1 parent b54c0dd commit ecd23ff

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

target_chains/cosmwasm/deploy-scripts/src/instantiate-wormhole.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { getWormholeConfig } from "./configs";
44
import {
55
CosmWasmPriceFeedContract,
66
CosmWasmWormholeContract,
7-
} from "../../../../contract_manager/lib/core/contracts/cosmwasm";
8-
import { toPrivateKey } from "../../../../contract_manager/lib/core/base";
9-
import { CosmWasmChain } from "../../../../contract_manager/lib/core/chains";
7+
} from "@pythnetwork/contract-manager/core/contracts/cosmwasm";
8+
import { toPrivateKey } from "@pythnetwork/contract-manager/core/base";
9+
import { CosmWasmChain } from "@pythnetwork/contract-manager/core/chains";
1010
import { DefaultStore, Store } from "@pythnetwork/contract-manager/node/store";
1111
import { CHAINS } from "@pythnetwork/xc-admin-common";
1212
import { DeploymentType } from "./helper";

target_chains/sui/cli-iota/src/cli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import yargs from "yargs";
22
import { hideBin } from "yargs/helpers";
3-
import { IotaChain } from "../../../../contract_manager/lib/core/chains";
4-
import { IotaPriceFeedContract } from "../../../../contract_manager/lib/core/contracts/iota";
3+
import { IotaChain } from "@pythnetwork/contract-manager/core/chains";
4+
import { IotaPriceFeedContract } from "@pythnetwork/contract-manager/core/contracts/iota";
55
import { DefaultStore } from "@pythnetwork/contract-manager/node/store";
6-
import { getDefaultDeploymentConfig } from "../../../../contract_manager/lib/core/base";
6+
import { getDefaultDeploymentConfig } from "@pythnetwork/contract-manager/core/base";
77
import { PriceServiceConnection } from "@pythnetwork/price-service-client";
88
import { execSync } from "child_process";
99
import { initPyth, publishPackage } from "./pyth_deploy";

target_chains/sui/cli-iota/src/upgrade_pyth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { IotaClient } from "@iota/iota-sdk/client";
88
import { Ed25519Keypair } from "@iota/iota-sdk/keypairs/ed25519";
99

1010
import { execSync } from "child_process";
11-
import { IotaPriceFeedContract } from "../../../../contract_manager/lib/core/contracts/iota";
11+
import { IotaPriceFeedContract } from "@pythnetwork/contract-manager/core/contracts/iota";
1212

1313
export function buildForBytecodeAndDigest(packagePath: string) {
1414
const buildOutput: {

target_chains/sui/cli/src/cli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import yargs from "yargs";
22
import { hideBin } from "yargs/helpers";
3-
import { SuiChain } from "../../../../contract_manager/lib/core/chains";
4-
import { SuiPriceFeedContract } from "../../../../contract_manager/lib/core/contracts/sui";
3+
import { SuiChain } from "@pythnetwork/contract-manager/core/chains";
4+
import { SuiPriceFeedContract } from "@pythnetwork/contract-manager/core/contracts/sui";
55
import { DefaultStore } from "@pythnetwork/contract-manager/node/store";
6-
import { getDefaultDeploymentConfig } from "../../../../contract_manager/lib/core/base";
6+
import { getDefaultDeploymentConfig } from "@pythnetwork/contract-manager/core/base";
77
import { PriceServiceConnection } from "@pythnetwork/price-service-client";
88
import { execSync } from "child_process";
99
import { initPyth, publishPackage } from "./pyth_deploy";

target_chains/sui/cli/src/upgrade_pyth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { SuiClient } from "@mysten/sui/client";
44
import { Ed25519Keypair } from "@mysten/sui/keypairs/ed25519";
55

66
import { execSync } from "child_process";
7-
import { SuiPriceFeedContract } from "../../../../contract_manager/lib/core/contracts/sui";
7+
import { SuiPriceFeedContract } from "@pythnetwork/contract-manager/core/contracts/sui";
88

99
export function buildForBytecodeAndDigest(packagePath: string) {
1010
const buildOutput: {

0 commit comments

Comments
 (0)