Skip to content

Commit

Permalink
change struct in test file too
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitsethia committed Jul 15, 2024
1 parent 7a0b90e commit 78d0d16
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions x/crosschain/keeper/msg_server_add_outbound_tracker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func TestMsgServer_AddToOutboundTracker(t *testing.T) {
k.SetOutboundTracker(ctx, types.OutboundTracker{
ChainId: chainID,
Nonce: 42,
HashList: []*types.TxHashList{
HashList: []*types.TxHash{
{
TxHash: existinghHash,
},
Expand Down Expand Up @@ -249,9 +249,9 @@ func TestMsgServer_AddToOutboundTracker(t *testing.T) {
observerMock.On("IsNonTombstonedObserver", mock.Anything, mock.Anything).Return(false)
keepertest.MockCctxByNonce(t, ctx, *k, observerMock, types.CctxStatus_PendingOutbound, false)

hashes := make([]*types.TxHashList, keeper.MaxOutboundTrackerHashes)
hashes := make([]*types.TxHash, keeper.MaxOutboundTrackerHashes)
for i := 0; i < keeper.MaxOutboundTrackerHashes; i++ {
hashes[i] = &types.TxHashList{
hashes[i] = &types.TxHash{
TxHash: sample.Hash().Hex(),
}
}
Expand Down Expand Up @@ -298,7 +298,7 @@ func TestMsgServer_AddToOutboundTracker(t *testing.T) {
k.SetOutboundTracker(ctx, types.OutboundTracker{
ChainId: chainID,
Nonce: 42,
HashList: []*types.TxHashList{
HashList: []*types.TxHash{
{
TxHash: existinghHash,
},
Expand Down Expand Up @@ -397,7 +397,7 @@ func TestMsgServer_AddToOutboundTracker(t *testing.T) {
k.SetOutboundTracker(ctx, types.OutboundTracker{
ChainId: chainID,
Nonce: 42,
HashList: []*types.TxHashList{
HashList: []*types.TxHash{
{
TxHash: sample.Hash().Hex(),
Proved: false,
Expand Down

0 comments on commit 78d0d16

Please sign in to comment.