Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Sep 26, 2024
1 parent f0f1c9a commit e7a6630
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions x/crosschain/keeper/cctx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package keeper_test

import (
"fmt"
"math/rand"
"testing"

"cosmossdk.io/math"
Expand Down Expand Up @@ -109,16 +110,16 @@ func TestCCTXs(t *testing.T) {
OutboundMined: 10,
Reverted: 10,
},
// {
// TestName: "test pending random",
// PendingInbound: rand.Intn(300-10) + 10,
// PendingOutbound: rand.Intn(300-10) + 10,
// Confirmed: rand.Intn(300-10) + 10,
// PendingRevert: rand.Intn(300-10) + 10,
// Aborted: rand.Intn(300-10) + 10,
// OutboundMined: rand.Intn(300-10) + 10,
// Reverted: rand.Intn(300-10) + 10,
// },
{
TestName: "test pending random",
PendingInbound: rand.Intn(300-10) + 10,
PendingOutbound: rand.Intn(300-10) + 10,
Confirmed: rand.Intn(300-10) + 10,
PendingRevert: rand.Intn(300-10) + 10,
Aborted: rand.Intn(300-10) + 10,
OutboundMined: rand.Intn(300-10) + 10,
Reverted: rand.Intn(300-10) + 10,
},
}
for _, tt := range cctxsTest {
tt := tt
Expand Down

0 comments on commit e7a6630

Please sign in to comment.