Skip to content

Commit

Permalink
Merge pull request #21 from pinax-network/bump/dependencies
Browse files Browse the repository at this point in the history
bump dependencies
  • Loading branch information
fschoell authored Oct 30, 2024
2 parents 0c1d7b3 + 1415588 commit 0928c12
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 105 deletions.
4 changes: 2 additions & 2 deletions cmd/substreams-sink-sql/generate_csv.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ func generateCsvE(cmd *cobra.Command, args []string) error {
if err != nil {
return fmt.Errorf("setup manifest reader: %w", err)
}
pkg, _, err := reader.Read()
pkgBundle, err := reader.Read()
if err != nil {
return fmt.Errorf("read manifest: %w", err)
}
network = pkg.Network
network = pkgBundle.Package.Network
}
var err error
endpoint, err = manifest.ExtractNetworkEndpoint(network, sflags.MustGetString(cmd, "endpoint"), zlog)
Expand Down
4 changes: 2 additions & 2 deletions cmd/substreams-sink-sql/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ func sinkRunE(cmd *cobra.Command, args []string) error {
if err != nil {
return fmt.Errorf("setup manifest reader: %w", err)
}
pkg, _, err := reader.Read()
pkgBundle, err := reader.Read()
if err != nil {
return fmt.Errorf("read manifest: %w", err)
}
network = pkg.Network
network = pkgBundle.Package.Network
}
var err error
endpoint, err = manifest.ExtractNetworkEndpoint(network, sflags.MustGetString(cmd, "endpoint"), zlog)
Expand Down
4 changes: 2 additions & 2 deletions cmd/substreams-sink-sql/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ func sinkSetupE(cmd *cobra.Command, args []string) error {
if err != nil {
return fmt.Errorf("setup manifest reader: %w", err)
}
pkg, _, err := reader.Read()
pkgBundle, err := reader.Read()
if err != nil {
return fmt.Errorf("read manifest: %w", err)
}

sinkConfig, err := extractSinkConfig(pkg)
sinkConfig, err := extractSinkConfig(pkgBundle.Package)
if err != nil {
return fmt.Errorf("extract sink config: %w", err)
}
Expand Down
58 changes: 30 additions & 28 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
module github.com/streamingfast/substreams-sink-sql

go 1.22
go 1.23.2

require (
github.com/ClickHouse/clickhouse-go/v2 v2.28.1
github.com/ClickHouse/clickhouse-go/v2 v2.30.0
github.com/bobg/go-generics/v2 v2.2.2
github.com/drone/envsubst v1.0.3
github.com/golang/protobuf v1.5.4
github.com/jimsmart/schema v0.2.0
github.com/lib/pq v1.10.7
github.com/spf13/cobra v1.7.0
github.com/lib/pq v1.10.9
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.15.0
github.com/spf13/viper v1.19.0
github.com/streamingfast/logging v0.0.0-20230608130331-f22c91403091
github.com/streamingfast/substreams v1.10.0
github.com/streamingfast/substreams-sink v0.4.1
github.com/streamingfast/substreams-sink-database-changes v1.1.3
github.com/streamingfast/substreams v1.10.8
github.com/streamingfast/substreams-sink v0.4.2
github.com/streamingfast/substreams-sink-database-changes v1.3.1
github.com/stretchr/testify v1.9.0
github.com/wk8/go-ordered-map/v2 v2.1.7
github.com/wk8/go-ordered-map/v2 v2.1.8
go.uber.org/zap v1.27.0
golang.org/x/exp v0.0.0-20231006140011-7918f672742d
google.golang.org/protobuf v1.33.0
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c
google.golang.org/protobuf v1.35.1
)

require (
Expand All @@ -31,17 +31,17 @@ require (
github.com/ClickHouse/ch-go v0.61.5 // indirect
github.com/RoaringBitmap/roaring v1.9.1 // indirect
github.com/alecthomas/participle v0.7.1 // indirect
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/andybalholm/brotli v1.1.1 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/bits-and-blooms/bitset v1.12.0 // indirect
github.com/buger/jsonparser v1.1.1 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/cncf/xds/go v0.0.0-20240318125728-8a4994d93e50 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/envoyproxy/go-control-plane v0.12.0 // indirect
github.com/envoyproxy/protoc-gen-validate v1.0.4 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-faster/city v1.0.1 // indirect
github.com/go-faster/errors v0.7.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
Expand All @@ -63,19 +63,21 @@ require (
github.com/mschoch/smat v0.2.0 // indirect
github.com/paulbellamy/ratecounter v0.2.0 // indirect
github.com/paulmach/orb v0.11.1 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
github.com/pierrec/lz4/v4 v4.1.21 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/schollz/closestmatch v2.1.0+incompatible // indirect
github.com/segmentio/asm v1.2.0 // indirect
github.com/sethvargo/go-retry v0.2.3 // indirect
github.com/shopspring/decimal v1.4.0 // indirect
github.com/spf13/afero v1.10.0 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/streamingfast/derr v0.0.0-20230515163924-8570aaa43fe1 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/teris-io/shortid v0.0.0-20171029131806-771a37caa5cf // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
Expand Down Expand Up @@ -121,27 +123,27 @@ require (
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.44.0 // indirect
github.com/prometheus/procfs v0.11.0 // indirect
github.com/streamingfast/bstream v0.0.2-0.20240819202225-ca1b790abf0b
github.com/streamingfast/bstream v0.0.2-0.20240916154503-c9c5c8bbeca0
github.com/streamingfast/cli v0.0.4-0.20230825151644-8cc84512cd80
github.com/streamingfast/dbin v0.9.1-0.20231117225723-59790c798e2c // indirect
github.com/streamingfast/dgrpc v0.0.0-20240219152146-57bb131c39ca // indirect
github.com/streamingfast/dhammer v0.0.0-20220506192416-3797a7906da2
github.com/streamingfast/dmetrics v0.0.0-20240214191810-524a5c58fbaa
github.com/streamingfast/dstore v0.1.1-0.20240826190906-91345d4a31f2
github.com/streamingfast/dstore v0.1.1-0.20241011152904-9acd6205dc14
github.com/streamingfast/opaque v0.0.0-20210811180740-0c01d37ea308 // indirect
github.com/streamingfast/pbgo v0.0.6-0.20240823134334-812f6a16c5cb // indirect
github.com/streamingfast/shutter v1.5.0
github.com/yourbasic/graph v0.0.0-20210606180040-8ecfec1c2869 // indirect
go.opencensus.io v0.24.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.26.0 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/crypto v0.28.0 // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/oauth2 v0.18.0 // indirect
golang.org/x/sys v0.23.0 // indirect
golang.org/x/term v0.23.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/term v0.25.0 // indirect
golang.org/x/text v0.19.0 // indirect
google.golang.org/api v0.172.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
Expand Down
Loading

0 comments on commit 0928c12

Please sign in to comment.