@@ -131,21 +131,19 @@ cbDeployTask(
131131 txParams ,
132132 ) ;
133133
134- const {
135- rebaseGateway,
136- transferGateway,
137- } = await deployChainBridgeBaseChainGatewayContracts (
138- {
139- bridge,
140- genericHandler,
141- ampl,
142- policy,
143- tokenVault,
144- } ,
145- hre . ethers ,
146- deployer ,
147- txParams ,
148- ) ;
134+ const { rebaseGateway, transferGateway } =
135+ await deployChainBridgeBaseChainGatewayContracts (
136+ {
137+ bridge,
138+ genericHandler,
139+ ampl,
140+ policy,
141+ tokenVault,
142+ } ,
143+ hre . ethers ,
144+ deployer ,
145+ txParams ,
146+ ) ;
149147
150148 console . log ( '------------------------------------------------------------' ) ;
151149 console . log ( 'Writing data to file' ) ;
@@ -259,15 +257,13 @@ cbDeployTask(
259257 hre . ethers . provider ,
260258 ) ;
261259
262- const {
263- rebaseGateway,
264- transferGateway,
265- } = await deployChainBridgeSatelliteChainGatewayContracts (
266- { xcAmple, xcAmpleController, bridge, genericHandler } ,
267- hre . ethers ,
268- deployer ,
269- txParams ,
270- ) ;
260+ const { rebaseGateway, transferGateway } =
261+ await deployChainBridgeSatelliteChainGatewayContracts (
262+ { xcAmple, xcAmpleController, bridge, genericHandler } ,
263+ hre . ethers ,
264+ deployer ,
265+ txParams ,
266+ ) ;
271267
272268 console . log ( '------------------------------------------------------------' ) ;
273269 console . log ( 'Writing data to file' ) ;
@@ -362,9 +358,8 @@ txTask(
362358 // Base chain
363359 const adminRole = await bridge . DEFAULT_ADMIN_ROLE ( ) ;
364360 const isAdmin = await bridge . hasRole ( adminRole , deployerAddress ) ;
365- const reportRebaseFnSig = CB_FUNCTION_SIG_baseChainReportRebase (
366- rebaseGateway ,
367- ) ;
361+ const reportRebaseFnSig =
362+ CB_FUNCTION_SIG_baseChainReportRebase ( rebaseGateway ) ;
368363 const transferFnSig = CB_FUNCTION_SIG_baseChainTransfer ( transferGateway ) ;
369364
370365 if ( isAdmin ) {
@@ -439,12 +434,10 @@ txTask(
439434 ) ;
440435 const adminRole = await bridge . DEFAULT_ADMIN_ROLE ( ) ;
441436 const isAdmin = await bridge . hasRole ( adminRole , deployerAddress ) ;
442- const reportRebaseFnSig = CB_FUNCTION_SIG_satelliteChainReportRebase (
443- rebaseGateway ,
444- ) ;
445- const transferFnSig = CB_FUNCTION_SIG_satelliteChainTransfer (
446- transferGateway ,
447- ) ;
437+ const reportRebaseFnSig =
438+ CB_FUNCTION_SIG_satelliteChainReportRebase ( rebaseGateway ) ;
439+ const transferFnSig =
440+ CB_FUNCTION_SIG_satelliteChainTransfer ( transferGateway ) ;
448441
449442 if ( isAdmin ) {
450443 await (
0 commit comments