Skip to content

Commit 286ff6c

Browse files
committed
ci: Reduce debugging to test race condition
1 parent 8a4448c commit 286ff6c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

cli/src/index.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -476,9 +476,9 @@ yargs(hideBin(process.argv))
476476
// TODO: is there an easier way to do this?
477477
const { ntt: upgraded } = await nttFromManager(ch, chainConfig.manager);
478478

479-
console.log("UPGRADE -> CHAINCONFIG BEFORE:", JSON.stringify(chainConfig));
479+
console.log("UPGRADE -> CHAINCONFIG BEFORE:", chainConfig.version);
480480
chainConfig.version = getVersion(chain, upgraded)
481-
console.log("UPGRADE -> CHAINCONFIG AFTER:", JSON.stringify(chainConfig));
481+
console.log("UPGRADE -> CHAINCONFIG AFTER:", chainConfig.version);
482482
fs.writeFileSync(path, JSON.stringify(deployments, null, 2));
483483

484484
console.log(`Successfully upgraded ${chain} to version ${toVersion || 'local version'}`);
@@ -1743,7 +1743,6 @@ async function pullChainConfig<N extends Network, C extends Chain>(
17431743
inbound: {},
17441744
},
17451745
};
1746-
console.log("PULLCHAINCONFIG CONFIG:", JSON.stringify(config, null, 2));
17471746
if (transceiverPauser) {
17481747
config.transceivers.wormhole.pauser = transceiverPauser.toString();
17491748
}

solana/ts/sdk/ntt.ts

-1
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ export class SolanaNtt<N extends Network, C extends SolanaChains>
618618
sender ? new SolanaAddress(sender).unwrap() : undefined
619619
);
620620
} catch (e) {
621-
console.log("NOT DEPLOYED!");
622621
// This might happen if e.g. the program is not deployed yet.
623622
const version = "3.0.0";
624623
return version;

0 commit comments

Comments
 (0)