Skip to content

Commit

Permalink
chore: remove unused chain variable in setup (#6371)
Browse files Browse the repository at this point in the history
  • Loading branch information
chatton authored May 24, 2024
1 parent 6d40bc6 commit c171059
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions modules/apps/callbacks/types/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,16 @@ type CallbacksTypesTestSuite struct {

coord *ibctesting.Coordinator

chain *ibctesting.TestChain

chainA, chainB *ibctesting.TestChain

path *ibctesting.Path
}

// SetupTest creates a coordinator with 1 test chain.
// SetupTest creates a coordinator with 2 test chains.
func (s *CallbacksTypesTestSuite) SetupTest() {
s.coord = ibctesting.NewCoordinator(s.T(), 3)
s.chain = s.coord.GetChain(ibctesting.GetChainID(1))
s.chainA = s.coord.GetChain(ibctesting.GetChainID(2))
s.chainB = s.coord.GetChain(ibctesting.GetChainID(3))
s.coord = ibctesting.NewCoordinator(s.T(), 2)
s.chainA = s.coord.GetChain(ibctesting.GetChainID(1))
s.chainB = s.coord.GetChain(ibctesting.GetChainID(2))
s.path = ibctesting.NewPath(s.chainA, s.chainB)
}

Expand Down

0 comments on commit c171059

Please sign in to comment.