celestiaorg / cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:
https://cosmos.network/
Other
20 stars 34 forks source link

Initialize the test network's client context with a grpc connection #189

Closed evan-forbes closed 2 years ago

evan-forbes commented 2 years ago

While the cosmos-sdk only uses the test network for cli integration tests, we have started to use it for general purpose integrations tests as can be seen in https://github.com/celestiaorg/celestia-app/pull/419 and this branch. By simply adding a grpc connection to the client context, we can have easy grpc access for queries, which opens many more options for tests.

We should initialize the client context for integration test networks so that we can use that functionality in celestia-app.

evan-forbes commented 2 years ago

see https://github.com/celestiaorg/cosmos-sdk/pull/190#issuecomment-1152718070

we'll just do this in the app instead as this breaks all the tests