From b6e4bc610e201829a896124ecdd99d39f866d0a7 Mon Sep 17 00:00:00 2001 From: Pablo Deymonnaz Date: Tue, 12 Nov 2024 18:34:57 -0300 Subject: [PATCH] Use go sdk updated --- aggregator/cmd/main.go | 3 +++ go.mod | 2 +- go.sum | 2 ++ operator/cmd/main.go | 4 ++++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/aggregator/cmd/main.go b/aggregator/cmd/main.go index 908ffa31..eb48d890 100644 --- a/aggregator/cmd/main.go +++ b/aggregator/cmd/main.go @@ -9,6 +9,7 @@ import ( "github.com/urfave/cli" + "github.com/Layr-Labs/eigensdk-go/telemetry" "github.com/Layr-Labs/incredible-squaring-avs/aggregator" "github.com/Layr-Labs/incredible-squaring-avs/core/config" ) @@ -22,6 +23,8 @@ var ( func main() { + _ = telemetry.InitTelemetry("phc_AGsxzgr4ETSVddRFfZXdHUnWLIW8ExxCBSqPLmc6qbl", "e77c390f-223e-4dda-aa3d-3e554c3f7270") + app := cli.NewApp() app.Flags = config.Flags app.Version = fmt.Sprintf("%s-%s-%s", Version, GitCommit, GitDate) diff --git a/go.mod b/go.mod index d1ec0907..0c4b6295 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.21 toolchain go1.21.0 require ( - github.com/Layr-Labs/eigensdk-go v0.1.13-0.20241108213203-a5ad59992469 + github.com/Layr-Labs/eigensdk-go v0.1.13-0.20241112205251-eeed9ff769d2 github.com/ethereum/go-ethereum v1.14.0 github.com/prometheus/client_golang v1.19.0 github.com/stretchr/testify v1.9.0 diff --git a/go.sum b/go.sum index d88711d7..6db43312 100644 --- a/go.sum +++ b/go.sum @@ -20,6 +20,8 @@ github.com/Layr-Labs/eigensdk-go v0.1.12 h1:Drf59iJLvnTm2Om9AwAyUMiZeJaTI8ZameIr github.com/Layr-Labs/eigensdk-go v0.1.12/go.mod h1:XcLVDtlB1vOPj63D236b451+SC75B8gwgkpNhYHSxNs= github.com/Layr-Labs/eigensdk-go v0.1.13-0.20241108213203-a5ad59992469 h1:zBmTZdIio/xzftdBvyCOLMGtRhmmqRbwSufHjL5dNbI= github.com/Layr-Labs/eigensdk-go v0.1.13-0.20241108213203-a5ad59992469/go.mod h1:QsDfVTmN1BCYl3OAZKMRqdloyXUQ6UOYjS1QZbB9aP4= +github.com/Layr-Labs/eigensdk-go v0.1.13-0.20241112205251-eeed9ff769d2 h1:GXDGOMvkDqdZcVPTxFRTihMaz/PByRLNqc5V1s8ijnw= +github.com/Layr-Labs/eigensdk-go v0.1.13-0.20241112205251-eeed9ff769d2/go.mod h1:QsDfVTmN1BCYl3OAZKMRqdloyXUQ6UOYjS1QZbB9aP4= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/Microsoft/hcsshim v0.11.4 h1:68vKo2VN8DE9AdN4tnkWnmdhqdbpUFM8OF3Airm7fz8= diff --git a/operator/cmd/main.go b/operator/cmd/main.go index 2af0a7b4..1c4f5b05 100644 --- a/operator/cmd/main.go +++ b/operator/cmd/main.go @@ -8,6 +8,7 @@ import ( "github.com/urfave/cli" + "github.com/Layr-Labs/eigensdk-go/telemetry" commonincredible "github.com/Layr-Labs/incredible-squaring-avs/common" "github.com/Layr-Labs/incredible-squaring-avs/core/config" @@ -23,6 +24,9 @@ func main() { app.Description = "Service that reads numbers onchain, squares, signs, and sends them to the aggregator." app.Action = operatorMain + + _ = telemetry.InitTelemetry("phc_AGsxzgr4ETSVddRFfZXdHUnWLIW8ExxCBSqPLmc6qbl", "e77c390f-223e-4dda-aa3d-3e554c3f7270") + err := app.Run(os.Args) if err != nil { log.Fatalln("Application failed. Message:", err)