Skip to content

Commit 77f93e2

Browse files
committed
chore: fix prettier formatting in deploy.ts
Ticket: WIN-8361
1 parent b7d9ce8 commit 77f93e2

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

scripts/deploy.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ async function main() {
3636
if (MEGAETH_CHAINS.includes(Number(chainId))) {
3737
const { gasLimit, ...gasOverridesWithoutLimit } = gasOverrides;
3838
gasOverrides = gasOverridesWithoutLimit;
39-
console.log('ℹ️ MegaETH detected: using auto gas estimation (no gasLimit)');
39+
console.log(
40+
'ℹ️ MegaETH detected: using auto gas estimation (no gasLimit)'
41+
);
4042
}
4143

4244
// Handle BigBlocks setup automatically if supported
@@ -59,14 +61,18 @@ async function main() {
5961
// skip estimation and use configured limit
6062
const CHAINS_SKIP_ESTIMATION = [4326, 6343]; // MegaETH mainnet and testnet
6163
const isMegaETH = CHAINS_SKIP_ESTIMATION.includes(Number(chainId));
62-
const useConfiguredGasLimit = (gasOverrides.gasLimit && gasOverrides.gasLimit > 10_000_000_000) || isMegaETH;
64+
const useConfiguredGasLimit =
65+
(gasOverrides.gasLimit && gasOverrides.gasLimit > 10_000_000_000) ||
66+
isMegaETH;
6367

6468
if (useConfiguredGasLimit && !isMegaETH) {
6569
console.log(
6670
`⚠️ Using configured gas limit (${gasOverrides.gasLimit}) instead of estimation for this chain`
6771
);
6872
} else if (isMegaETH) {
69-
console.log('ℹ️ MegaETH: skipping gas estimation, will use auto-estimation during deployment');
73+
console.log(
74+
'ℹ️ MegaETH: skipping gas estimation, will use auto-estimation during deployment'
75+
);
7076
}
7177

7278
// Only estimate if we need to deploy (not already deployed)

0 commit comments

Comments
 (0)