From 329592fdf9d21190bba6f5c3f7ded1d25fc541cc Mon Sep 17 00:00:00 2001 From: riccardo <106812074+riccardo-gnosis@users.noreply.github.com> Date: Thu, 12 Sep 2024 14:54:42 +0200 Subject: [PATCH] fix mistake --- cmd/cmd.go | 24 ++++++++++++------------ go.mod | 4 +--- go.sum | 4 ++-- 3 files changed, 15 insertions(+), 17 deletions(-) diff --git a/cmd/cmd.go b/cmd/cmd.go index a0aab03..45c4eff 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -38,10 +38,10 @@ 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", @@ -49,16 +49,16 @@ var ConsumerCommand = &cli.Command{ 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", diff --git a/go.mod b/go.mod index d57a8a0..2a568b6 100644 --- a/go.mod +++ b/go.mod @@ -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 @@ -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 diff --git a/go.sum b/go.sum index df17f2c..a3765fe 100644 --- a/go.sum +++ b/go.sum @@ -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=