This repository was archived by the owner on Apr 12, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const FRAUD_PROOF_WINDOW_SECONDS = env.FRAUD_PROOF_WINDOW_SECONDS || (60 * 60 *
2323const SEQUENCER_PUBLISH_WINDOW_SECONDS = env . SEQUENCER_PUBLISH_WINDOW_SECONDS || ( 60 * 30 ) ; // 30 min
2424const CHAIN_ID = env . CHAIN_ID || 420 ; // layer 2 chainid
2525const USE_LEDGER = env . USE_LEDGER || false ;
26+ const ADDRESS_MANAGER_ADDRESS = env . ADDRESS_MANAGER_ADDRESS || undefined ;
2627const HD_PATH = env . HD_PATH || utils . defaultPath ;
2728const BLOCK_TIME_SECONDS = env . BLOCK_TIME_SECONDS || 15 ;
2829const L2_CROSS_DOMAIN_MESSENGER_ADDRESS =
@@ -101,6 +102,7 @@ const RELAYER_PRIVATE_KEY = env.RELAYER_PRIVATE_KEY;
101102 gasLimit : DEPLOY_TX_GAS_LIMIT
102103 } ,
103104 waitForReceipts : WAIT_FOR_RECEIPTS ,
105+ addressManager : ADDRESS_MANAGER_ADDRESS ,
104106 } ) ;
105107
106108 const { failedDeployments, AddressManager } = result ;
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ export const deploy = async (
3232 'Lib_AddressManager' ,
3333 config . deploymentSigner
3434 ) . deploy ( )
35- }
36- if ( config . waitForReceipts ) {
37- await AddressManager . deployTransaction . wait ( )
35+ if ( config . waitForReceipts ) {
36+ await AddressManager . deployTransaction . wait ( )
37+ }
3838 }
3939
4040 const contractDeployConfig = await makeContractDeployConfig (
You can’t perform that action at this time.
0 commit comments