Skip to content

Commit

Permalink
fix mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardo-gnosis committed Sep 12, 2024
1 parent 5169bfd commit 329592f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
24 changes: 12 additions & 12 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,27 +38,27 @@ var ConsumerCommand = &cli.Command{
Value: "consumer-" + uuid.New().String(),
},
&cli.StringFlag{
Name: "endpoint",
Usage: "Clickhouse server endpoint",
Value: "", // If empty URL, run the consumer without Clickhouse
EnvVar: "VALTRACK_CH_URL",
Name: "endpoint",
Usage: "Clickhouse server endpoint",
Value: "", // If empty URL, run the consumer without Clickhouse
EnvVars: []string{"VALTRACK_CH_URL"},
},
&cli.StringFlag{
Name: "db",
Usage: "Clickhouse database name",
Value: "default",
},
&cli.StringFlag{
Name: "username",
Usage: "Clickhouse username",
Value: "default",
EnvVar: "CLICKHOUSE_USER",
Name: "username",
Usage: "Clickhouse username",
Value: "default",
EnvVars: []string{"CLICKHOUSE_USER"},
},
&cli.StringFlag{
Name: "password",
Usage: "Clickhouse password",
Value: "",
EnvVar: "CLICKHOUSE_PASSWORD",
Name: "password",
Usage: "Clickhouse password",
Value: "",
EnvVars: []string{"CLICKHOUSE_PASSWORD"},
},
&cli.StringFlag{
Name: "dune.namespace",
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ module github.com/chainbound/valtrack
go 1.22

require (
github.com/herumi/bls-eth-go-binary v1.28.1
github.com/supranational/blst v0.3.11
github.com/ClickHouse/clickhouse-go/v2 v2.25.0
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0
github.com/ethereum/go-ethereum v1.14.0
Expand Down Expand Up @@ -81,7 +79,7 @@ require (
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 // indirect
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
github.com/hashicorp/golang-lru/v2 v2.0.5 // indirect
github.com/herumi/bls-eth-go-binary v0.0.0-20210917013441-d37c07cfda4e // indirect
github.com/herumi/bls-eth-go-binary v1.28.1 // indirect
github.com/holiman/uint256 v1.2.4 // indirect
github.com/huin/goupnp v1.3.0 // indirect
github.com/ipfs/go-cid v0.4.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,8 @@ github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO
github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ=
github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I=
github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc=
github.com/herumi/bls-eth-go-binary v0.0.0-20210917013441-d37c07cfda4e h1:wCMygKUQhmcQAjlk2Gquzq6dLmyMv2kF+llRspoRgrk=
github.com/herumi/bls-eth-go-binary v0.0.0-20210917013441-d37c07cfda4e/go.mod h1:luAnRm3OsMQeokhGzpYmc0ZKwawY7o87PUEP11Z7r7U=
github.com/herumi/bls-eth-go-binary v1.28.1 h1:fcIZ48y5EE9973k05XjE8+P3YiQgjZz4JI/YabAm8KA=
github.com/herumi/bls-eth-go-binary v1.28.1/go.mod h1:luAnRm3OsMQeokhGzpYmc0ZKwawY7o87PUEP11Z7r7U=
github.com/holiman/billy v0.0.0-20240216141850-2abb0c79d3c4 h1:X4egAf/gcS1zATw6wn4Ej8vjuVGxeHdan+bRb2ebyv4=
github.com/holiman/billy v0.0.0-20240216141850-2abb0c79d3c4/go.mod h1:5GuXa7vkL8u9FkFuWdVvfR5ix8hRB7DbOAaYULamFpc=
github.com/holiman/bloomfilter/v2 v2.0.3 h1:73e0e/V0tCydx14a0SCYS/EWCxgwLZ18CZcZKVu0fao=
Expand Down

0 comments on commit 329592f

Please sign in to comment.