Skip to content

Commit da04645

Browse files
committed
Add forwarder address deployment validation
1 parent 8a829b8 commit da04645

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

script/transactionStatus.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ const checkTransactionStatus = async () => {
111111
console.log(`Hash: ${tx.hash}, Status: ${status}, ChainId: ${writePayloads[0].chainSlug}`);
112112
console.log(`OnChainAddress: ${deployerDetails.onChainAddress}`);
113113
console.log(`ForwarderAddress: ${deployerDetails.forwarderAddress}`);
114+
if (deployerDetails.isForwarderDeployed !== true) {
115+
console.error(`ERROR: ForwarderAddress NOT deployed. Please reach out to the SOCKET team.`);
116+
process.exit(1);
117+
}
114118
} else {
115119
console.log(`Hash: ${tx.hash}, Status: ${status}, ChainId: ${chainId}`);
116120
}

0 commit comments

Comments
 (0)