Skip to content

Commit

Permalink
fix smoke
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG committed Jul 2, 2024
1 parent 27a3daa commit 9cce1dd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions integration-tests/ccip-tests/actions/ccip_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -2874,7 +2874,7 @@ func (lane *CCIPLane) Multicall(noOfRequests int, multiSendAddr common.Address)
func (lane *CCIPLane) SendRequests(noOfRequests int, gasLimit *big.Int) error {
for i := 1; i <= noOfRequests; i++ {
stat := testreporters.NewCCIPRequestStats(int64(lane.NumberOfReq+i), lane.SourceNetworkName, lane.DestNetworkName)
_, txConfirmationDur, fee, err := lane.Source.SendRequest(
txHash, txConfirmationDur, fee, err := lane.Source.SendRequest(
lane.Dest.ReceiverDapp.EthAddress,
gasLimit,
)
Expand All @@ -2894,7 +2894,10 @@ func (lane *CCIPLane) SendRequests(noOfRequests int, gasLimit *big.Int) error {
noOfTokens++
}
}

_, err = lane.AddToSentReqs(txHash, []*testreporters.RequestStat{stat})
if err != nil {
return err
}
stat.UpdateState(lane.Logger, 0, testreporters.TX, txConfirmationDur, testreporters.Success, nil)
lane.TotalFee = bigmath.Add(lane.TotalFee, fee)
}
Expand Down

0 comments on commit 9cce1dd

Please sign in to comment.