Serialize contracts (#25)

pull/2435/head
Nam Chu Hoai 2 years ago committed by GitHub
parent 72ea457220
commit 49450190e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      scripts/deploy.ts

@ -6,6 +6,7 @@ import {
MultiProvider, MultiProvider,
chainConnectionConfigs, chainConnectionConfigs,
objMap, objMap,
serializeContracts,
} from '@hyperlane-xyz/sdk'; } from '@hyperlane-xyz/sdk';
import { HypERC20Deployer } from "../src/deploy"; import { HypERC20Deployer } from "../src/deploy";
@ -37,7 +38,8 @@ async function deployTradeRoute() {
await deployer.deploy(); await deployer.deploy();
console.log('Deployment successful. Deployed contracts:') console.log('Deployment successful. Deployed contracts:')
console.log(deployer.deployedContracts) // @ts-ignore
console.log(serializeContracts(deployer.deployedContracts))
} }
deployTradeRoute().then(console.log).catch(console.error) deployTradeRoute().then(console.log).catch(console.error)
Loading…
Cancel
Save