From 864f769b3434861b284d34b763295f8f885715eb Mon Sep 17 00:00:00 2001 From: Justin Brower Date: Fri, 30 Aug 2024 15:20:22 -0400 Subject: [PATCH 1/3] save --- .github/workflows/cli_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cli_release.yml b/.github/workflows/cli_release.yml index cd20b6e3..559db094 100644 --- a/.github/workflows/cli_release.yml +++ b/.github/workflows/cli_release.yml @@ -35,7 +35,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run GoReleaser (branch) uses: goreleaser/goreleaser-action@v6 - if: ${{ github.ref != 'refs/heads/main' }} + if: ${{ github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/') }} with: distribution: goreleaser version: "~> v2" From 032173a7206bfc582bca60ab9287c18e19ced751 Mon Sep 17 00:00:00 2001 From: Justin Brower Date: Fri, 30 Aug 2024 15:29:35 -0400 Subject: [PATCH 2/3] fix lint --- cli/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/main.go b/cli/main.go index 76c9103e..08d60462 100644 --- a/cli/main.go +++ b/cli/main.go @@ -16,7 +16,7 @@ var specificValidator uint64 = math.MaxUint64 var estimateGas = false var slashedValidatorIndex uint64 -const DEFAULT_HEALTHCHECK_TOLERANCE = float64(5.0) +const DefaultHealthcheckTolerance = float64(5.0) func main() { var batchSize uint64 @@ -24,7 +24,7 @@ func main() { var disableColor = false var verbose = false var noPrompt = false - var tolerance = DEFAULT_HEALTHCHECK_TOLERANCE + var tolerance = DefaultHealthcheckTolerance app := &cli.App{ Name: "Eigenlayer Proofs CLi", From 17916a94780942d63ed59211ca34b135792e1be0 Mon Sep 17 00:00:00 2001 From: Justin Brower Date: Fri, 30 Aug 2024 15:31:08 -0400 Subject: [PATCH 3/3] typo --- cli/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/main.go b/cli/main.go index 08d60462..99fed8b2 100644 --- a/cli/main.go +++ b/cli/main.go @@ -43,7 +43,7 @@ func main() { BeaconNodeFlag, &cli.Float64Flag{ Name: "tolerance", - Value: DEFAULT_HEALTHCHECK_TOLERANCE, // default: 5 + Value: DefaultHealthcheckTolerance, // default: 5 Usage: "The percentage balance deviation to tolerate when deciding whether an eigenpod should be corrected. Default is 5% (e.g --tolerance 5).", Destination: &tolerance, },