Skip to content

Commit

Permalink
Added logging for submitted multisig transaction id
Browse files Browse the repository at this point in the history
  • Loading branch information
u-hubar committed Dec 5, 2023
1 parent decc4c9 commit 6968285
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/998_initialize_contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
setParametersEncodedData,
]);

MultiSigWallet.on('Submission', (transactionId) => {
console.log(`[Multisig] HubController.setAndReinitializeContracts Transaction ID: ${transactionId}`);
});

// Submit the transaction to the multisig wallet
const submitTx = await MultiSigWallet.submitTransaction(hubControllerAddress, 0, encodedData);
await submitTx.wait();
Expand Down

0 comments on commit 6968285

Please sign in to comment.