From 49450190e817633b0f26f02e747d60ba1c792023 Mon Sep 17 00:00:00 2001 From: Nam Chu Hoai Date: Thu, 12 Jan 2023 10:45:16 -0500 Subject: [PATCH] Serialize contracts (#25) --- scripts/deploy.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/deploy.ts b/scripts/deploy.ts index 79abba956..0f58d3a42 100644 --- a/scripts/deploy.ts +++ b/scripts/deploy.ts @@ -6,6 +6,7 @@ import { MultiProvider, chainConnectionConfigs, objMap, + serializeContracts, } from '@hyperlane-xyz/sdk'; import { HypERC20Deployer } from "../src/deploy"; @@ -37,7 +38,8 @@ async function deployTradeRoute() { await deployer.deploy(); console.log('Deployment successful. Deployed contracts:') - console.log(deployer.deployedContracts) + // @ts-ignore + console.log(serializeContracts(deployer.deployedContracts)) } deployTradeRoute().then(console.log).catch(console.error) \ No newline at end of file