chore(contract_manager): Rename package to @pythnetwork/contract-manager (#1507)
This change renames the contract manager package name to @pythnetwork/contract-manager to be consistent with our package names.
This commit is contained in:
parent
6da2e1ba53
commit
ef922220ee
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "contract_manager",
|
||||
"name": "@pythnetwork/contract-manager",
|
||||
"version": "1.0.0",
|
||||
"description": "Set of tools to manage pyth contracts",
|
||||
"private": true,
|
||||
|
|
|
@ -31488,7 +31488,7 @@
|
|||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/contract_manager": {
|
||||
"node_modules/@pythnetwork/contract-manager": {
|
||||
"resolved": "contract_manager",
|
||||
"link": true
|
||||
},
|
||||
|
@ -65844,7 +65844,7 @@
|
|||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@pythnetwork/cosmwasm-deploy-tools": "*",
|
||||
"contract_manager": "*",
|
||||
"@pythnetwork/contract-manager": "*",
|
||||
"rimraf": "^5.0.0",
|
||||
"typescript": "^5.3.3",
|
||||
"yargs": "^17.0.1"
|
||||
|
@ -66492,7 +66492,7 @@
|
|||
"@pythnetwork/entropy-sdk-solidity": "*",
|
||||
"@pythnetwork/pyth-multisig-wh-message-builder": "*",
|
||||
"@pythnetwork/pyth-sdk-solidity": "^3.0.0",
|
||||
"contract_manager": "*",
|
||||
"@pythnetwork/contract-manager": "*",
|
||||
"dotenv": "^10.0.0",
|
||||
"elliptic": "^6.5.2",
|
||||
"ethers": "^5.7.2",
|
||||
|
@ -67954,7 +67954,7 @@
|
|||
"@pythnetwork/client": "^2.17.0",
|
||||
"@pythnetwork/price-service-client": "^1.4.0",
|
||||
"@pythnetwork/price-service-sdk": "^1.2.0",
|
||||
"contract_manager": "*",
|
||||
"@pythnetwork/contract-manager": "*",
|
||||
"prettier": "^2.8.7",
|
||||
"typescript": "^5.0.4",
|
||||
"xc_admin_common": "*"
|
||||
|
@ -77292,7 +77292,7 @@
|
|||
"requires": {
|
||||
"@pythnetwork/cosmwasm-deploy-tools": "*",
|
||||
"@types/yargs": "^17.0.18",
|
||||
"contract_manager": "*",
|
||||
"@pythnetwork/contract-manager": "*",
|
||||
"rimraf": "^5.0.0",
|
||||
"typescript": "^5.3.3",
|
||||
"yargs": "^17.0.1"
|
||||
|
@ -79896,7 +79896,7 @@
|
|||
"@truffle/hdwallet-provider": "^2.1.5",
|
||||
"@types/chai": "^4.3.4",
|
||||
"chai": "^4.2.0",
|
||||
"contract_manager": "*",
|
||||
"@pythnetwork/contract-manager": "*",
|
||||
"dotenv": "^10.0.0",
|
||||
"elliptic": "^6.5.2",
|
||||
"ethers": "^5.7.2",
|
||||
|
@ -92541,7 +92541,7 @@
|
|||
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
|
||||
"integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA=="
|
||||
},
|
||||
"contract_manager": {
|
||||
"@pythnetwork/contract-manager": {
|
||||
"version": "file:contract_manager",
|
||||
"requires": {
|
||||
"@certusone/wormhole-sdk": "^0.9.8",
|
||||
|
@ -109759,7 +109759,7 @@
|
|||
"@pythnetwork/client": "^2.17.0",
|
||||
"@pythnetwork/price-service-client": "^1.4.0",
|
||||
"@pythnetwork/price-service-sdk": "^1.2.0",
|
||||
"contract_manager": "*",
|
||||
"@pythnetwork/contract-manager": "*",
|
||||
"prettier": "^2.8.7",
|
||||
"typescript": "^5.0.4",
|
||||
"xc_admin_common": "*"
|
||||
|
|
|
@ -8,7 +8,7 @@ import {
|
|||
AptosChain,
|
||||
DefaultStore,
|
||||
getDefaultDeploymentConfig,
|
||||
} from "contract_manager";
|
||||
} from "@pythnetwork/contract-manager";
|
||||
|
||||
const NETWORK_CHOICES = Object.entries(DefaultStore.chains)
|
||||
.filter(([chain, config]) => {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@pythnetwork/cosmwasm-deploy-tools": "*",
|
||||
"contract_manager": "*",
|
||||
"@pythnetwork/contract-manager": "*",
|
||||
"rimraf": "^5.0.0",
|
||||
"typescript": "^5.3.3",
|
||||
"yargs": "^17.0.1"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { getDefaultDeploymentConfig } from "contract_manager";
|
||||
import { getDefaultDeploymentConfig } from "@pythnetwork/contract-manager";
|
||||
import { DeploymentType } from "./helper";
|
||||
|
||||
function getPythSources(deploymentType: DeploymentType) {
|
||||
|
|
|
@ -8,7 +8,7 @@ import {
|
|||
DefaultStore,
|
||||
Store,
|
||||
toPrivateKey,
|
||||
} from "contract_manager";
|
||||
} from "@pythnetwork/contract-manager";
|
||||
import { CHAINS } from "xc_admin_common";
|
||||
import { DeploymentType, getContractBytesDict } from "./helper";
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import {
|
|||
DefaultStore,
|
||||
toPrivateKey,
|
||||
CosmWasmWormholeContract,
|
||||
} from "contract_manager";
|
||||
} from "@pythnetwork/contract-manager";
|
||||
import { CHAINS } from "xc_admin_common";
|
||||
import { DeploymentType } from "./helper";
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
"@pythnetwork/pyth-multisig-wh-message-builder": "*",
|
||||
"@pythnetwork/pyth-sdk-solidity": "^3.0.0",
|
||||
"@pythnetwork/entropy-sdk-solidity": "*",
|
||||
"contract_manager": "*",
|
||||
"@pythnetwork/contract-manager": "*",
|
||||
"dotenv": "^10.0.0",
|
||||
"elliptic": "^6.5.2",
|
||||
"ethers": "^5.7.2",
|
||||
|
|
|
@ -10,7 +10,7 @@ import {
|
|||
EvmChain,
|
||||
loadHotWallet,
|
||||
EvmWormholeContract,
|
||||
} from "contract_manager";
|
||||
} from "@pythnetwork/contract-manager";
|
||||
import Web3 from "web3";
|
||||
import { CHAINS } from "xc_admin_common";
|
||||
import * as fs from "fs";
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"@pythnetwork/client": "^2.17.0",
|
||||
"@pythnetwork/price-service-client": "^1.4.0",
|
||||
"@pythnetwork/price-service-sdk": "^1.2.0",
|
||||
"contract_manager": "*",
|
||||
"@pythnetwork/contract-manager": "*",
|
||||
"prettier": "^2.8.7",
|
||||
"typescript": "^5.0.4",
|
||||
"xc_admin_common": "*"
|
||||
|
|
|
@ -5,7 +5,7 @@ import {
|
|||
getDefaultDeploymentConfig,
|
||||
SuiChain,
|
||||
SuiPriceFeedContract,
|
||||
} from "contract_manager";
|
||||
} from "@pythnetwork/contract-manager";
|
||||
import { PriceServiceConnection } from "@pythnetwork/price-service-client";
|
||||
import { execSync } from "child_process";
|
||||
import { initPyth, publishPackage } from "./pyth_deploy";
|
||||
|
|
|
@ -8,7 +8,7 @@ import { SuiClient } from "@mysten/sui.js/client";
|
|||
import { Ed25519Keypair } from "@mysten/sui.js/keypairs/ed25519";
|
||||
|
||||
import { execSync } from "child_process";
|
||||
import { SuiPriceFeedContract } from "contract_manager";
|
||||
import { SuiPriceFeedContract } from "@pythnetwork/contract-manager";
|
||||
|
||||
export function buildForBytecodeAndDigest(packagePath: string) {
|
||||
const buildOutput: {
|
||||
|
|
Loading…
Reference in New Issue