From 3712422d068eb541a99736e7503a698594723578 Mon Sep 17 00:00:00 2001 From: lumtis Date: Tue, 14 Jan 2025 11:36:45 +0100 Subject: [PATCH] add withdraw and revert check in test --- .../test_eth_withdraw_and_call_revert_with_withdraw.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/e2etests/test_eth_withdraw_and_call_revert_with_withdraw.go b/e2e/e2etests/test_eth_withdraw_and_call_revert_with_withdraw.go index 65815a55f9..d43d8a6632 100644 --- a/e2e/e2etests/test_eth_withdraw_and_call_revert_with_withdraw.go +++ b/e2e/e2etests/test_eth_withdraw_and_call_revert_with_withdraw.go @@ -38,8 +38,8 @@ func TestETHWithdrawAndCallRevertWithWithdraw(r *runner.E2ERunner, args []string r.Logger.Print("cctxRevert") r.Logger.Print(cctxRevert.String()) - //cctxWithdrawFromRevert := utils.WaitCctxMinedByInboundHash(r.Ctx, cctxRevert, r.CctxClient, r.Logger, r.CctxTimeout) + cctxWithdrawFromRevert := utils.WaitCctxMinedByInboundHash(r.Ctx, cctxRevert.Index, r.CctxClient, r.Logger, r.CctxTimeout) - // check the cctx status - //utils.RequireCCTXStatus(r, cctxWithdrawFromRevert, crosschaintypes.CctxStatus_OutboundMined) + //check the cctx status + utils.RequireCCTXStatus(r, cctxWithdrawFromRevert, crosschaintypes.CctxStatus_OutboundMined) }