Skip to content

Commit

Permalink
Update keeper_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
DeVikingMark authored Jan 5, 2025
1 parent decc8ec commit 0f625ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ func (suite *KeeperTestSuite) SetupTest() {
suite.chainA = suite.coordinator.GetChain(ibctesting.GetChainID(1))
suite.chainB = suite.coordinator.GetChain(ibctesting.GetChainID(2))

// TODO: remove
// commit some blocks so that QueryProof returns valid proof (cannot return valid query if height <= 1)
// Commit initial blocks to ensure proper initialization of chains
// This is required because QueryProof needs at least 2 blocks to return valid proofs
suite.coordinator.CommitNBlocks(suite.chainA, 2)
suite.coordinator.CommitNBlocks(suite.chainB, 2)
}
Expand Down

0 comments on commit 0f625ef

Please sign in to comment.