Skip to content

Commit

Permalink
feat: register v0.47 compatible query
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Oct 20, 2023
1 parent 07e20b8 commit dd5cf49
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
- name: Run Gosec Security Scanner
uses: cosmos/gosec@master
with:
args: ./...
args: '-exclude-generated ./...'
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
run:
tests: true
timeout: 10m
timeout: 15m
sort-results: true
allow-parallel-runners: true
exclude-dir: testutil/testdata_pulsar
Expand Down
1 change: 1 addition & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ func NewSgeApp(
app.mm.RegisterServices(app.configurator)

// v47 - no dependecy injection, so register new gRPC services.
//#nosec
autocliv1.RegisterQueryServer(app.GRPCQueryRouter(), runtimeservices.NewAutoCLIQueryService(app.mm.Modules))
reflectionSvc, err := runtimeservices.NewReflectionService()
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module github.com/sge-network/sge
go 1.20

require (
cosmossdk.io/api v0.3.1
cosmossdk.io/math v1.1.2
cosmossdk.io/simapp v0.0.0-20230831152633-2e9e5d6eea24
github.com/cometbft/cometbft v0.37.2
Expand Down Expand Up @@ -46,7 +47,7 @@ require (
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
github.com/sashamelentyev/usestdlibvars v1.20.0 // indirect
github.com/sivchari/nosnakecase v1.7.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.16.0 // indirect
github.com/timonwong/loggercheck v0.9.3 // indirect
go.uber.org/atomic v1.10.0 // indirect
Expand All @@ -62,7 +63,6 @@ require (
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.1 // indirect
cloud.google.com/go/storage v1.30.1 // indirect
cosmossdk.io/api v0.3.1 // indirect
cosmossdk.io/core v0.5.1 // indirect
cosmossdk.io/depinject v1.0.0-alpha.4 // indirect
cosmossdk.io/errors v1.0.0 // indirect
Expand Down

0 comments on commit dd5cf49

Please sign in to comment.