@@ -77,7 +77,7 @@ export const setManagers = async (
7777 data : socket . encodeFunctionData ( "setExecutionManager(address)" , [
7878 addr [ executionManagerVersion ] ,
7979 ] ) ,
80- ...overrides ( await socketSigner . getChainId ( ) ) ,
80+ ...( await overrides ( await socketSigner . getChainId ( ) ) ) ,
8181 } ;
8282
8383 const isSubmitted = await socketSigner . isTxHashSubmitted ( transaction ) ;
@@ -97,7 +97,7 @@ export const setManagers = async (
9797 data : socket . encodeFunctionData ( "setTransmitManager(address)" , [
9898 addr . TransmitManager ,
9999 ] ) ,
100- ...overrides ( await socketSigner . getChainId ( ) ) ,
100+ ...( await overrides ( await socketSigner . getChainId ( ) ) ) ,
101101 } ;
102102
103103 const isSubmitted = await socketSigner . isTxHashSubmitted ( transaction ) ;
@@ -263,7 +263,7 @@ export const setupPolygonNativeSwitchboard = async (addresses, safeChains) => {
263263 data : sbContract . encodeFunctionData ( "setFxChildTunnel(address)" , [
264264 dstSwitchboardAddress ,
265265 ] ) ,
266- ...overrides ( await socketSigner . getChainId ( ) ) ,
266+ ...( await overrides ( await socketSigner . getChainId ( ) ) ) ,
267267 } ;
268268 } else if ( srcSwitchboardType === NativeSwitchboard . POLYGON_L2 ) {
269269 const sbContract = (
@@ -281,7 +281,7 @@ export const setupPolygonNativeSwitchboard = async (addresses, safeChains) => {
281281 data : sbContract . encodeFunctionData ( "setFxRootTunnel(address)" , [
282282 dstSwitchboardAddress ,
283283 ] ) ,
284- ...overrides ( await socketSigner . getChainId ( ) ) ,
284+ ...( await overrides ( await socketSigner . getChainId ( ) ) ) ,
285285 } ;
286286 }
287287
0 commit comments