Skip to content

Commit 57460c1

Browse files
committed
add WaitForTxStatus
1 parent f692f1f commit 57460c1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

e2e/interchaintestv8/solana_gmp_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,6 +2744,13 @@ func (s *IbcEurekaSolanaGMPTestSuite) runChunkingScenario(
27442744
}
27452745

27462746
s.T().Logf("✓ Packet successfully processed on Solana: %s", solanaRelayTxSig)
2747+
2748+
err = s.SolanaChain.WaitForTxStatus(solanaRelayTxSig, rpc.ConfirmationStatusConfirmed)
2749+
if err != nil {
2750+
return fmt.Errorf("failed to wait for transaction confirmation: %w", err)
2751+
}
2752+
2753+
s.T().Logf("✓ Transaction confirmed on Solana")
27472754
return nil
27482755
}()
27492756

0 commit comments

Comments
 (0)