Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronc committed Jul 5, 2024
1 parent 6c40979 commit 86ec5bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 deletions.
11 changes: 3 additions & 8 deletions baseapp/streaming.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/spf13/cast"

"cosmossdk.io/schema/indexing"
"cosmossdk.io/schema/indexer"

"cosmossdk.io/schema"

Check failure on line 13 in baseapp/streaming.go

View workflow job for this annotation

GitHub Actions / dependency-review

missing go.sum entry for module providing package cosmossdk.io/schema (imported by github.com/cosmos/cosmos-sdk/baseapp); to add:

Check failure on line 13 in baseapp/streaming.go

View workflow job for this annotation

GitHub Actions / dependency-review

missing go.sum entry for module providing package cosmossdk.io/schema (imported by github.com/cosmos/cosmos-sdk/baseapp); to add:

Check failure on line 13 in baseapp/streaming.go

View workflow job for this annotation

GitHub Actions / dependency-review

missing go.sum entry for module providing package cosmossdk.io/schema (imported by github.com/cosmos/cosmos-sdk/baseapp); to add:

Check failure on line 13 in baseapp/streaming.go

View workflow job for this annotation

GitHub Actions / dependency-review

missing go.sum entry for module providing package cosmossdk.io/schema (imported by github.com/cosmos/cosmos-sdk/baseapp); to add:

Check failure on line 13 in baseapp/streaming.go

View workflow job for this annotation

GitHub Actions / dependency-review

missing go.sum entry for module providing package cosmossdk.io/schema (imported by github.com/cosmos/cosmos-sdk/baseapp); to add:

Check failure on line 13 in baseapp/streaming.go

View workflow job for this annotation

GitHub Actions / dependency-review

missing go.sum entry for module providing package cosmossdk.io/schema (imported by github.com/cosmos/cosmos-sdk/baseapp); to add:

Check failure on line 13 in baseapp/streaming.go

View workflow job for this annotation

GitHub Actions / dependency-review

missing go.sum entry for module providing package cosmossdk.io/schema (imported by github.com/cosmos/cosmos-sdk/baseapp); to add:

Check failure on line 13 in baseapp/streaming.go

View workflow job for this annotation

GitHub Actions / dependency-review

missing go.sum entry for module providing package cosmossdk.io/schema (imported by github.com/cosmos/cosmos-sdk/baseapp); to add:

Check failure on line 13 in baseapp/streaming.go

View workflow job for this annotation

GitHub Actions / dependency-review

missing go.sum entry for module providing package cosmossdk.io/schema (imported by github.com/cosmos/cosmos-sdk/baseapp); to add:

Check failure on line 13 in baseapp/streaming.go

View workflow job for this annotation

GitHub Actions / dependency-review

missing go.sum entry for module providing package cosmossdk.io/schema (imported by github.com/cosmos/cosmos-sdk/baseapp); to add:
"cosmossdk.io/schema/appdata"
Expand All @@ -34,13 +34,8 @@ const (
// kv-store keys, and app modules. Using the built-in indexer framework is mutually exclusive from using other
// types of streaming listeners.
func (app *BaseApp) EnableIndexer(indexerOpts interface{}, keys map[string]*storetypes.KVStoreKey, appModules map[string]any) error {
optsMap, ok := indexerOpts.(map[string]interface{})
if !ok {
return fmt.Errorf("invalid indexer options type %T, expected a map", indexerOpts)
}

listener, err := indexing.Start(indexing.Options{
Options: optsMap,
listener, err := indexer.StartManager(indexer.ManagerOptions{
Config: indexerOpts,
Resolver: decoding.ModuleSetDecoderResolver(appModules),
SyncSource: nil,
Logger: app.logger.With("module", "indexer"),
Expand Down
3 changes: 0 additions & 3 deletions simapp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ require (
github.com/huandu/skiplist v1.2.0 // indirect
github.com/iancoleman/strcase v0.3.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/puddle/v2 v2.2.1 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/jmhodges/levigo v1.0.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
Expand Down
8 changes: 0 additions & 8 deletions simapp/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -594,14 +594,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM=
github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg=
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk=
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM=
github.com/jackc/pgx/v5 v5.6.0 h1:SWJzexBzPL5jb0GEsrPMLIsi/3jOo7RHlzTjcAeDrPY=
github.com/jackc/pgx/v5 v5.6.0/go.mod h1:DNZ/vlrUnhWCoFGxHAG8U2ljioxukquj7utPDgtQdTw=
github.com/jackc/puddle/v2 v2.2.1 h1:RhxXJtFG022u4ibrCSMSiu5aOq1i77R3OHKNJj77OAk=
github.com/jackc/puddle/v2 v2.2.1/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/jhump/protoreflect v1.15.3 h1:6SFRuqU45u9hIZPJAoZ8c28T3nK64BNdp9w6jFonzls=
github.com/jhump/protoreflect v1.15.3/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
Expand Down

0 comments on commit 86ec5bd

Please sign in to comment.