File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11const fs = require ( 'fs' ) ;
22const path = require ( 'path' ) ;
33
4+ const chainId = 43 ;
45// Read script name from command-line arguments
56const scriptName = process . argv [ 2 ] ; // The argument passed to the script
67if ( ! scriptName ) {
@@ -13,7 +14,7 @@ if (!scriptName) {
1314const jsonFilePath = path . join (
1415 'broadcast' ,
1516 `${ scriptName } .s.sol` ,
16- '43' ,
17+ ` ${ chainId } ` ,
1718 'run-latest.json'
1819) ;
1920
@@ -111,7 +112,7 @@ const checkTransactionStatus = async () => {
111112 console . log ( `OnChainAddress: ${ deployerDetails . onChainAddress } ` ) ;
112113 console . log ( `ForwarderAddress: ${ deployerDetails . forwarderAddress } ` ) ;
113114 } else {
114- console . log ( `Hash: ${ tx . hash } , Status: ${ status } , ChainId: 7625382 ` ) ;
115+ console . log ( `Hash: ${ tx . hash } , Status: ${ status } , ChainId: ${ chainId } ` ) ;
115116 }
116117
117118 tx . printed = true ;
You can’t perform that action at this time.
0 commit comments