@ -112,6 +112,7 @@ async function main() {
deployer = new HyperlaneProxyFactoryDeployer (
multiProvider ,
contractVerifier ,
concurrentDeploy ,
) ;
} else if ( module === Modules . CORE ) {
config = envConfig . core ;
@ -138,6 +139,7 @@ async function main() {
multiProvider ,
ismFactory ,
contractVerifier ,
concurrentDeploy ,
) ;
} else if ( module === Modules . INTERCHAIN_GAS_PAYMASTER ) {
config = envConfig . igp ;
@ -159,7 +161,11 @@ async function main() {
} else if ( module === Modules . INTERCHAIN_QUERY_SYSTEM ) {
const { core } = await getHyperlaneCore ( environment , multiProvider ) ;
config = core . getRouterConfig ( envConfig . owners ) ;
deployer = new InterchainQueryDeployer ( multiProvider , contractVerifier ) ;
deployer = new InterchainQueryDeployer (
multiProvider ,
contractVerifier ,
concurrentDeploy ,
) ;
} else if ( module === Modules . LIQUIDITY_LAYER ) {
const { core } = await getHyperlaneCore ( environment , multiProvider ) ;
const routerConfig = core . getRouterConfig ( envConfig . owners ) ;
@ -173,7 +179,11 @@ async function main() {
. . . routerConfig [ chain ] ,
} ) ,
) ;
deployer = new LiquidityLayerDeployer ( multiProvider , contractVerifier ) ;
deployer = new LiquidityLayerDeployer (
multiProvider ,
contractVerifier ,
concurrentDeploy ,
) ;
} else if ( module === Modules . TEST_RECIPIENT ) {
const addresses = getAddresses ( environment , Modules . CORE ) ;
@ -184,7 +194,11 @@ async function main() {
ethers . constants . AddressZero , // ISM is required for the TestRecipientDeployer but onchain if the ISM is zero address, then it uses the mailbox's defaultISM
} ;
}
deployer = new TestRecipientDeployer ( multiProvider , contractVerifier ) ;
deployer = new TestRecipientDeployer (
multiProvider ,
contractVerifier ,
concurrentDeploy ,
) ;
} else if ( module === Modules . TEST_QUERY_SENDER ) {
// Get query router addresses
const queryAddresses = getAddresses (
@ -194,7 +208,11 @@ async function main() {
config = objMap ( queryAddresses , ( _c , conf ) = > ( {
queryRouterAddress : conf.router ,
} ) ) ;
deployer = new TestQuerySenderDeployer ( multiProvider , contractVerifier ) ;
deployer = new TestQuerySenderDeployer (
multiProvider ,
contractVerifier ,
concurrentDeploy ,
) ;
} else if ( module === Modules . HELLO_WORLD ) {
const { core } = await getHyperlaneCore ( environment , multiProvider ) ;
config = core . getRouterConfig ( envConfig . owners ) ;
@ -202,6 +220,7 @@ async function main() {
multiProvider ,
undefined ,
contractVerifier ,
concurrentDeploy ,
) ;
} else if ( module === Modules . HOOK ) {
const ismFactory = HyperlaneIsmFactory . fromAddressesMap (
@ -212,6 +231,8 @@ async function main() {
multiProvider ,
getEnvAddresses ( environment ) ,
ismFactory ,
contractVerifier ,
concurrentDeploy ,
) ;
// Config is intended to be changed for ad-hoc use cases:
config = {