@@ -271,7 +271,7 @@ contract TxManagerTest is Test, ICrossError {
271271 uint256 (MsgInitiateTxResponse.InitiateTxStatus.INITIATE_TX_STATUS_PENDING),
272272 "Status should be PENDING "
273273 );
274- harness.runTxIfCompleted (txMsg);
274+ harness.runTxIfCompleted (txID, txMsg);
275275 assertEq (harness.runCount (), 1 , "MockTxRunner should be called once " );
276276 assertEq (harness.lastRunTxID (), txID, "MockTxRunner should be called with correct txID " );
277277 assertEq (
@@ -282,7 +282,7 @@ contract TxManagerTest is Test, ICrossError {
282282 }
283283
284284 function test_runTxIfCompleted_DoesNothingForUnknownTx () public {
285- harness.runTxIfCompleted (txMsg);
285+ harness.runTxIfCompleted (txID, txMsg);
286286 assertEq (harness.runCount (), 0 , "MockTxRunner should not be called " );
287287 assertEq (
288288 uint256 (harness.getTxStatus (txID)),
@@ -293,14 +293,14 @@ contract TxManagerTest is Test, ICrossError {
293293
294294 function test_runTxIfCompleted_DoesNothingIfAlreadyVerified () public {
295295 harness.createTx (txID, txMsg);
296- harness.runTxIfCompleted (txMsg); // First run
296+ harness.runTxIfCompleted (txID, txMsg); // First run
297297 assertEq (harness.runCount (), 1 , "MockTxRunner should be called once " );
298298 assertEq (
299299 uint256 (harness.getTxStatus (txID)),
300300 uint256 (MsgInitiateTxResponse.InitiateTxStatus.INITIATE_TX_STATUS_VERIFIED),
301301 "Status should be VERIFIED "
302302 );
303- harness.runTxIfCompleted (txMsg); // Second run
303+ harness.runTxIfCompleted (txID, txMsg); // Second run
304304 assertEq (harness.runCount (), 1 , "MockTxRunner should not be called again " );
305305 assertEq (
306306 uint256 (harness.getTxStatus (txID)),
0 commit comments