From 01964edbe02ddd3ddc7f17c2d5b4f464e8893679 Mon Sep 17 00:00:00 2001 From: Eduard Voiculescu Date: Thu, 6 Jul 2023 15:49:41 -0400 Subject: [PATCH] bump substreams to 1.1.8 --- cmd/firesol/cli/substreams-tier1.go | 7 +------ go.mod | 6 +++--- go.sum | 14 ++++++-------- 3 files changed, 10 insertions(+), 17 deletions(-) diff --git a/cmd/firesol/cli/substreams-tier1.go b/cmd/firesol/cli/substreams-tier1.go index 890589d3..15e2b9b0 100644 --- a/cmd/firesol/cli/substreams-tier1.go +++ b/cmd/firesol/cli/substreams-tier1.go @@ -60,8 +60,6 @@ func init() { cmd.Flags().Int("substreams-tier1-max-subrequests", 4, "number of parallel subrequests that the tier1 can make to the tier2 per request") cmd.Flags().Uint64("substreams-tier1-subrequests-size", 10000, "substreams subrequest block range size value for the scheduler") - cmd.Flags().Bool("substreams-tier1-debug-request-stats", false, "Enables stats per request, like block rate. Should only be enabled in debugging instance, not in production") - // all substreams registerCommonSubstreamsFlags(cmd) return nil @@ -94,8 +92,6 @@ func init() { maxSubrequests := viper.GetUint64("substreams-tier1-max-subrequests") subrequestsSize := viper.GetUint64("substreams-tier1-subrequests-size") - debugRequestsStates := viper.GetBool("substreams-tier1-debug-request-stats") - tracing := os.Getenv("SUBSTREAMS_TRACING") == "modules_exec" var serviceDiscoveryURL *url.URL @@ -126,8 +122,7 @@ func init() { SubrequestsInsecure: subrequestsInsecure, SubrequestsPlaintext: subrequestsPlaintext, - DebugRequestsStates: debugRequestsStates, - Tracing: tracing, + Tracing: tracing, GRPCListenAddr: grpcListenAddr, GRPCShutdownGracePeriod: time.Second, diff --git a/go.mod b/go.mod index 2d8437fe..11560341 100644 --- a/go.mod +++ b/go.mod @@ -29,8 +29,8 @@ require ( github.com/streamingfast/derr v0.0.0-20230515163924-8570aaa43fe1 github.com/streamingfast/dgrpc v0.0.0-20230621153617-bc715cdb9fd1 github.com/streamingfast/dlauncher v0.0.0-20220909121534-7a9aa91dbb32 - github.com/streamingfast/dmetering v0.0.0-20230620155208-31b97a817964 - github.com/streamingfast/dmetrics v0.0.0-20221129121022-a1733eca1981 + github.com/streamingfast/dmetering v0.0.0-20230706141508-cd783a0fb671 + github.com/streamingfast/dmetrics v0.0.0-20230516031116-28fcfeb4b9ed github.com/streamingfast/dstore v0.1.1-0.20230620124109-3924b3b36c77 github.com/streamingfast/firehose v0.1.1-0.20230630134959-2f996e99f2e4 github.com/streamingfast/firehose-solana/types v0.0.0-20230126211203-a2d17ce9f8b9 @@ -44,7 +44,7 @@ require ( github.com/streamingfast/sf-tools v0.0.0-20230217210059-2ab577f61e8e github.com/streamingfast/shutter v1.5.0 github.com/streamingfast/solana-go v0.5.1-0.20220502224452-432fbe84aee8 - github.com/streamingfast/substreams v1.1.8-0.20230706152959-4ef1dd33e8c1 + github.com/streamingfast/substreams v1.1.8 github.com/stretchr/testify v1.8.3 github.com/teris-io/shortid v0.0.0-20201117134242-e59966efd125 // indirect github.com/test-go/testify v1.1.4 diff --git a/go.sum b/go.sum index 30fcfe2e..c8bba859 100644 --- a/go.sum +++ b/go.sum @@ -2260,7 +2260,6 @@ github.com/streamingfast/bstream v0.0.2-0.20230510131449-6b591d74130d/go.mod h1: github.com/streamingfast/cli v0.0.4-0.20220630165922-bc58c6666fc8 h1:1W2VZY4jRTh7GJ6+PnydanRcr3Hj45SKDnb+kBQQwlc= github.com/streamingfast/cli v0.0.4-0.20220630165922-bc58c6666fc8/go.mod h1:Lmirl0ABgXzidX33syiUG6lX64mJMK5pDNTBFuz8xZI= github.com/streamingfast/dauth v0.0.0-20210812020920-1c83ba29add1/go.mod h1:FIYpVqt+ICVuNBoOH3ZIicIctpVoCq3393+RpfXsPEM= -github.com/streamingfast/dauth v0.0.0-20230620204019-1ccc85cf767d/go.mod h1:zfq+mtesfbaZnNeh1BF+vo+zEFP1sat4pm3lvt40nRw= github.com/streamingfast/dauth v0.0.0-20230630134904-f19ce9a5b859 h1:PHIltCSubkBTCcEqh8ceVMJvhuBOSWOxaR+dSBgZsxA= github.com/streamingfast/dauth v0.0.0-20230630134904-f19ce9a5b859/go.mod h1:zfq+mtesfbaZnNeh1BF+vo+zEFP1sat4pm3lvt40nRw= github.com/streamingfast/dbin v0.0.0-20210809205249-73d5eca35dc5/go.mod h1:YStE7K5/GH47JsWpY7LMKsDaXXpMLU/M26vYFzXHYRk= @@ -2281,13 +2280,12 @@ github.com/streamingfast/dlauncher v0.0.0-20220909121534-7a9aa91dbb32 h1:8HkoK2Z github.com/streamingfast/dlauncher v0.0.0-20220909121534-7a9aa91dbb32/go.mod h1:3yohsSqjVQpUGwIYpFIQ8izS8ms9vYhz2dpDspyxP0A= github.com/streamingfast/dmetering v0.0.0-20220301165106-a642bb6a21bd/go.mod h1:Eu1SH2HyBbDUmQqJV+f5oowCQ/c02HkAZyR5U2BKIT8= github.com/streamingfast/dmetering v0.0.0-20230616141703-390a8b480271/go.mod h1:fIkrfHl+yZfoQUstqGPDFruzd7cwWSO0HeXsE6WsJbM= -github.com/streamingfast/dmetering v0.0.0-20230620155208-31b97a817964 h1:EThzXlbUj98aDfDJwNGfCvijgUYhnoEAZ2/oxVWKutI= -github.com/streamingfast/dmetering v0.0.0-20230620155208-31b97a817964/go.mod h1:6lfPT2SUXDk/n0C6bGwcMx/yPQCdDolvI4+/eFJTc78= +github.com/streamingfast/dmetering v0.0.0-20230706141508-cd783a0fb671 h1:3N4BYpU0aG7Un8n+N9DI46fevmRB54wzB+jRDoXw3II= +github.com/streamingfast/dmetering v0.0.0-20230706141508-cd783a0fb671/go.mod h1:6lfPT2SUXDk/n0C6bGwcMx/yPQCdDolvI4+/eFJTc78= github.com/streamingfast/dmetrics v0.0.0-20210811180524-8494aeb34447/go.mod h1:VLdQY/FwczmC/flqWkcsBbqXO4BhU4zQDSK7GMrpcjY= github.com/streamingfast/dmetrics v0.0.0-20220811180000-3e513057d17c/go.mod h1:fWoyaD76fE7mXZfkfcAfNeU/Hv/y6yJ/RgEcInQLwSw= -github.com/streamingfast/dmetrics v0.0.0-20221107142404-e88fe183f07d/go.mod h1:jc/U4gaLWSWhHWIW4on0tr8OkKr0U/yGK3f+I+YQIaU= -github.com/streamingfast/dmetrics v0.0.0-20221129121022-a1733eca1981 h1:t3cTj45mgC0TtUd8TnR5uzFhRxnLGiofHK9Vx52HtHA= -github.com/streamingfast/dmetrics v0.0.0-20221129121022-a1733eca1981/go.mod h1:JbxEDbzWRG1dHdNIPrYfuPllEkktZMgm40AwVIBENcw= +github.com/streamingfast/dmetrics v0.0.0-20230516031116-28fcfeb4b9ed h1:b6EFwgne8MSK4kUjvulyyg2GGyvVUgQ+xY6o8eXlFIA= +github.com/streamingfast/dmetrics v0.0.0-20230516031116-28fcfeb4b9ed/go.mod h1:JbxEDbzWRG1dHdNIPrYfuPllEkktZMgm40AwVIBENcw= github.com/streamingfast/dstore v0.1.1-0.20220304164644-696f9c5fc231/go.mod h1:aii8QXJg+2b5CXw+Y1SkTf5QJkJOu8ujq6+rw8J1OK0= github.com/streamingfast/dstore v0.1.1-0.20220607202639-35118aeaf648/go.mod h1:SHSEIPowGeE1TfNNmGeAUUnlO3dwevmX5kFOSazU60M= github.com/streamingfast/dstore v0.1.1-0.20220830184623-b0f0cc804743/go.mod h1:SHSEIPowGeE1TfNNmGeAUUnlO3dwevmX5kFOSazU60M= @@ -2343,8 +2341,8 @@ github.com/streamingfast/shutter v1.5.0 h1:NpzDYzj0HVpSiDJVO/FFSL6QIK/YKOxY0gJAt github.com/streamingfast/shutter v1.5.0/go.mod h1:B/T6efqdeMGbGwjzPS1ToXzYZI4kDzI5/u4I+7qbjY8= github.com/streamingfast/solana-go v0.5.1-0.20220502224452-432fbe84aee8 h1:M9HcIwlbl7PipqrKPgNzfEWD9oxAA0mmjdRd2dTk9/4= github.com/streamingfast/solana-go v0.5.1-0.20220502224452-432fbe84aee8/go.mod h1:9NfZWSK0zqA+M1YU2pTI8sr1BfijCpqBFceLQARQiNw= -github.com/streamingfast/substreams v1.1.8-0.20230706152959-4ef1dd33e8c1 h1:OGSCe3xwivelj9BmxJd7AXvwFjr/6Zs5ahmeB5z757c= -github.com/streamingfast/substreams v1.1.8-0.20230706152959-4ef1dd33e8c1/go.mod h1:L8rqU/cgttZX8DtHVpDZclaXWYtpF8klLrbaBMpOlNc= +github.com/streamingfast/substreams v1.1.8 h1:udJuWXR9t7gqWTbIoeUCE7v5bo24JId/tJK6Sw41wwc= +github.com/streamingfast/substreams v1.1.8/go.mod h1:mufGW3WPOAvARyp2Vs1T8ks6onOJ7/YiHCyUZwGDPJI= github.com/streamingfast/validator v0.0.0-20210812013448-b9da5752ce14/go.mod h1:t4h97mWfTs6v0zjEFuGDOoW5wLtu9+ttegIx99i7gsM= github.com/streamingfast/wasmtime-go/v4 v4.0.0-freemem3 h1:raJHR0JWgYiSyX0vZ3leRK/TkNcn4ZUGTf+d64g48KQ= github.com/streamingfast/wasmtime-go/v4 v4.0.0-freemem3/go.mod h1:rOffzhrBM87FuXgj23Ss35uFDahjAauERq60QpyCzpE=