Skip to content

Commit

Permalink
Merge pull request #125 from bryanlabs/pharr117/latest-modules-examples
Browse files Browse the repository at this point in the history
Update examples to use latest indexer modules repo
  • Loading branch information
pharr117 authored Jan 24, 2025
2 parents 15db94f + a7f967e commit 8d95bd8
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
5 changes: 5 additions & 0 deletions examples/block-sdk-indexer/filter.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"message_type_regex": ".*osmosis.*",
"should_ignore": true
},
{
"type": "message_type_regex",
"message_type_regex": ".*cosmos.*",
"should_ignore": true
},
{
"type": "message_type",
"message_type": "/sdk.auction.v1.MsgAuctionBid"
Expand Down
2 changes: 1 addition & 1 deletion examples/block-sdk-indexer/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.22.1

require (
github.com/DefiantLabs/cosmos-indexer v0.0.0-20240613171139-077bdb0887f6
github.com/DefiantLabs/cosmos-indexer-modules/block-sdk v0.0.0-20240917021144-f5fdc1f5268a
github.com/DefiantLabs/cosmos-indexer-modules v0.0.0-20250124104958-6a86319f8b0a
)

require (
Expand Down
4 changes: 2 additions & 2 deletions examples/block-sdk-indexer/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ github.com/CosmWasm/wasmd v0.40.0/go.mod h1:SuxskRBB7+bpwXGhUXaEfdpjg5WKpdxBy7Tm
github.com/CosmWasm/wasmvm v1.2.3 h1:OKYlobwmVGbl0eSn0mXoAAjE5hIuXnQCLPjbNd91sVY=
github.com/CosmWasm/wasmvm v1.2.3/go.mod h1:vW/E3h8j9xBQs9bCoijDuawKo9kCtxOaS8N8J7KFtkc=
github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
github.com/DefiantLabs/cosmos-indexer-modules/block-sdk v0.0.0-20240917021144-f5fdc1f5268a h1:kgqKxgrWowsFB/lE4zoqD2lnvUoylWOC6AAUFWixjT8=
github.com/DefiantLabs/cosmos-indexer-modules/block-sdk v0.0.0-20240917021144-f5fdc1f5268a/go.mod h1:GiW7fMNndJzW2Q8GFPX3hYRPFBl0tkiF88vH5FyDG+k=
github.com/DefiantLabs/cosmos-indexer-modules v0.0.0-20250124104958-6a86319f8b0a h1:wssTxF0uAr2siAjeBcHhJk/hnHnFgp29mxlAOUFXDUk=
github.com/DefiantLabs/cosmos-indexer-modules v0.0.0-20250124104958-6a86319f8b0a/go.mod h1:GtHBzZspypPwo+nF8Tteo88fF1QeZl8joBHzYkD7hLU=
github.com/DefiantLabs/probe v1.0.0 h1:EnKRGpFbTTRqfpAii2AdOdfiHT/8TlrXgK1+o+ch8b0=
github.com/DefiantLabs/probe v1.0.0/go.mod h1:6zCXSvZTy/w8iXPU56Cxcppa7aOttQbePgT0QbS9Ecs=
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
Expand Down
4 changes: 4 additions & 0 deletions examples/gov-voting-patterns/demo-indexed-txes.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
SELECT b.height, tx.hash, met.message_type from txes tx
JOIN messages me on me.tx_id = tx.id
JOIN blocks b on b.id = tx.block_id
JOIN message_types met on met.id = me.message_type_id;
2 changes: 1 addition & 1 deletion examples/terra-classic-indexer/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.22.1

require (
github.com/DefiantLabs/cosmos-indexer v0.0.0-20240613171139-077bdb0887f6
github.com/DefiantLabs/cosmos-indexer-modules/terra-classic v0.0.0-20240917021144-f5fdc1f5268a
github.com/DefiantLabs/cosmos-indexer-modules v0.0.0-20250124104958-6a86319f8b0a
)

require (
Expand Down
4 changes: 2 additions & 2 deletions examples/terra-classic-indexer/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ github.com/CosmWasm/wasmd v0.40.0/go.mod h1:SuxskRBB7+bpwXGhUXaEfdpjg5WKpdxBy7Tm
github.com/CosmWasm/wasmvm v1.2.3 h1:OKYlobwmVGbl0eSn0mXoAAjE5hIuXnQCLPjbNd91sVY=
github.com/CosmWasm/wasmvm v1.2.3/go.mod h1:vW/E3h8j9xBQs9bCoijDuawKo9kCtxOaS8N8J7KFtkc=
github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
github.com/DefiantLabs/cosmos-indexer-modules/terra-classic v0.0.0-20240917021144-f5fdc1f5268a h1:HzSX1DNHzVmaVixE0kOhE/KZuL7QHSsc/pwqiq187iM=
github.com/DefiantLabs/cosmos-indexer-modules/terra-classic v0.0.0-20240917021144-f5fdc1f5268a/go.mod h1:4q4KmKMxERCgM+1/QORNCONVg0ja3Iu5cbVi5PWYeRI=
github.com/DefiantLabs/cosmos-indexer-modules v0.0.0-20250124104958-6a86319f8b0a h1:wssTxF0uAr2siAjeBcHhJk/hnHnFgp29mxlAOUFXDUk=
github.com/DefiantLabs/cosmos-indexer-modules v0.0.0-20250124104958-6a86319f8b0a/go.mod h1:GtHBzZspypPwo+nF8Tteo88fF1QeZl8joBHzYkD7hLU=
github.com/DefiantLabs/probe v1.0.0 h1:EnKRGpFbTTRqfpAii2AdOdfiHT/8TlrXgK1+o+ch8b0=
github.com/DefiantLabs/probe v1.0.0/go.mod h1:6zCXSvZTy/w8iXPU56Cxcppa7aOttQbePgT0QbS9Ecs=
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
Expand Down

0 comments on commit 8d95bd8

Please sign in to comment.