Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused chain variable in setup for CallbacksTypesTestSuite #6371

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading