refactor: decouple comet from modules (#21382)

This commit is contained in:
son trinh
2024-09-11 09:18:13 +00:00
committed by GitHub
parent 04cec5b5e5
commit 1d4ecd5e37
32 changed files with 1702 additions and 5169 deletions
@@ -715,16 +715,6 @@ func TestGRPCQueryPoolParameters(t *testing.T) {
assert.DeepEqual(t, params, resp.Params)
}
func TestGRPCQueryHistoricalInfo(t *testing.T) {
t.Parallel()
f := initFixture(t)
qr := f.app.QueryHelper()
queryClient := types.NewQueryClient(qr)
_, err := queryClient.HistoricalInfo(gocontext.Background(), &types.QueryHistoricalInfoRequest{}) // nolint:staticcheck // SA1019: deprecated endpoint
assert.ErrorContains(t, err, "this endpoint has been deprecated and removed in 0.52")
}
func TestGRPCQueryRedelegations(t *testing.T) {
t.Parallel()
f := initFixture(t)