Skip to content

Commit

Permalink
fix: missing logger dpendency
Browse files Browse the repository at this point in the history
  • Loading branch information
red-0ne committed Feb 7, 2025
1 parent 6afc4a2 commit fda3c8c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testutil/integration/suites/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/pokt-network/poktroll/pkg/client"
"github.com/pokt-network/poktroll/pkg/client/query"
"github.com/pokt-network/poktroll/pkg/client/query/cache"
"github.com/pokt-network/poktroll/pkg/polylog"
apptypes "github.com/pokt-network/poktroll/x/application/types"
sharedtypes "github.com/pokt-network/poktroll/x/shared/types"
)
Expand All @@ -28,7 +29,9 @@ type ApplicationModuleSuite struct {
func (s *ApplicationModuleSuite) GetAppQueryClient() client.ApplicationQueryClient {
appCache := cache.NewKeyValueCache[apptypes.Application]()
appParamsCache := cache.NewParamsCache[apptypes.Params]()
deps := depinject.Supply(s.GetApp().QueryHelper(), appCache, appParamsCache)
logger := polylog.Ctx(s.GetApp().QueryHelper().Ctx)

deps := depinject.Supply(s.GetApp().QueryHelper(), appCache, appParamsCache, logger)
appQueryClient, err := query.NewApplicationQuerier(deps)
require.NoError(s.T(), err)

Expand Down

0 comments on commit fda3c8c

Please sign in to comment.