Skip to content

Commit dfd02e0

Browse files
committed
address comments
1 parent 8b581a2 commit dfd02e0

File tree

5 files changed

+9
-48
lines changed

5 files changed

+9
-48
lines changed

.github/workflows/ci-ton-contract.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

contract_manager/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"@pythnetwork/pyth-starknet-js": "^0.2.1",
3838
"@pythnetwork/pyth-sui-js": "workspace:*",
3939
"@pythnetwork/pyth-ton-js": "workspace:*",
40+
"@pythnetwork/pyth-ton": "workspace:*",
4041
"@pythnetwork/solana-utils": "workspace:^",
4142
"@pythnetwork/xc-admin-common": "workspace:*",
4243
"@solana/web3.js": "^1.73.0",

contract_manager/scripts/upgrade_ton_contract.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async function main() {
5959
);
6060

6161
// Read the compiled contract from the build directory
62-
// NOTE: Remember to build the contract first before running this script to get the latest build, command: `npm run build:blueprint` on target_chains/ton/contracts
62+
// NOTE: Remember to rebuild contract_manager before running this script because it will also build the ton contract
6363
const compiledPath = path.resolve(
6464
__dirname,
6565
"../../target_chains/ton/contracts/build/Main.compiled.json"
@@ -75,9 +75,9 @@ async function main() {
7575

7676
// Create and submit governance proposal
7777
console.log("Using vault for proposal:", vault.getId());
78-
const wallet = await loadHotWallet(argv["ops-key-path"] as string);
79-
console.log("Using wallet:", wallet.publicKey.toBase58());
80-
vault.connect(wallet);
78+
const keypair = await loadHotWallet(argv["ops-key-path"] as string);
79+
console.log("Using wallet:", keypair.publicKey.toBase58());
80+
vault.connect(keypair);
8181
const proposal = await vault.proposeWormholeMessage([payload]);
8282
console.log("Proposal address:", proposal.address.toBase58());
8383
}

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

target_chains/ton/contracts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"start": "blueprint run",
7-
"build:blueprint": "blueprint build Main",
7+
"build": "blueprint build Main",
88
"test:unit": "jest --verbose"
99
},
1010
"devDependencies": {

0 commit comments

Comments
 (0)