Skip to content

Commit d7a7de4

Browse files
committed
Fix chain ID
1 parent 36bce8a commit d7a7de4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

script/transactionStatus.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const fs = require('fs');
22
const path = require('path');
33

4+
const chainId = 43;
45
// Read script name from command-line arguments
56
const scriptName = process.argv[2]; // The argument passed to the script
67
if (!scriptName) {
@@ -13,7 +14,7 @@ if (!scriptName) {
1314
const 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;

0 commit comments

Comments
 (0)