Skip to content

Commit 692b3a2

Browse files
committed
linting
1 parent 866ffd1 commit 692b3a2

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

core/tests/upgrade-test/tests/upgrade.test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -779,11 +779,7 @@ async function pauseMigrationsCalldata(
779779
chainAssetHandlerAddr = await l2BridgehubContract.chainAssetHandler();
780780
} else {
781781
// For L1, get the ChainAssetHandler address from L1 Bridgehub
782-
const bridgehubContract = new ethers.Contract(
783-
l1BridgehubAddr,
784-
contracts.bridgehubAbi,
785-
l1Provider
786-
);
782+
const bridgehubContract = new ethers.Contract(l1BridgehubAddr, contracts.bridgehubAbi, l1Provider);
787783
chainAssetHandlerAddr = await bridgehubContract.chainAssetHandler();
788784
}
789785

core/tests/upgrade-test/tests/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ export function initContracts(pathToHome: string, zkStack: boolean): Contracts {
119119
require(`${L1_CONTRACTS_FOLDER}/core/bridgehub/IBridgehubBase.sol/IBridgehubBase.json`).abi
120120
),
121121
chainAssetHandlerAbi: new ethers.Interface(
122-
require(`${L1_CONTRACTS_FOLDER}/core/chain-asset-handler/IChainAssetHandler.sol/IChainAssetHandler.json`).abi
122+
require(
123+
`${L1_CONTRACTS_FOLDER}/core/chain-asset-handler/IChainAssetHandler.sol/IChainAssetHandler.json`
124+
).abi
123125
)
124126
};
125127
}

0 commit comments

Comments
 (0)