File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments