Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,9 +594,14 @@ yargs(hideBin(process.argv))
continue;
}
const address: UniversalAddress = peer.address.address.toUniversalAddress()
const [peerConfig, _ctx, peerNtt] = await pullChainConfig(network, { chain: c, address }, overrides);
ntts[c] = peerNtt as any;
configs[c] = peerConfig;
try {
const [peerConfig, _ctx, peerNtt] = await pullChainConfig(network, { chain: c, address }, overrides);
ntts[c] = peerNtt as any;
configs[c] = peerConfig;
} catch (e) {
console.error(`Failed to pull config for ${c}:`, e);
continue;
}
}

// sort chains by name
Expand Down
2 changes: 1 addition & 1 deletion evm/ts/src/ntt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ export class EvmNtt<N extends Network, C extends EvmChains>
return abiVersion;
} catch (e) {
console.error(
`Failed to get NTT_MANAGER_VERSION from contract ${contracts.ntt?.manager}`
`Failed to get NTT_MANAGER_VERSION from contract ${contracts.ntt?.manager} on ${(await provider.getNetwork()).name}`
);
throw e;
}
Expand Down
Loading