From c2932e69917bdac232c2eff05b9d9b93e0b67d38 Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Mon, 6 May 2024 20:23:23 -0500 Subject: [PATCH] Run gofumpt --- spec/electra/aggregateandproof.go | 3 ++- spec/electra/consolidation_json.go | 1 + spec/electra/consolidation_yaml.go | 1 + spec/electra/signedaggregateandproof.go | 3 ++- spec/electra/signedconsolidation_json.go | 1 + 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/spec/electra/aggregateandproof.go b/spec/electra/aggregateandproof.go index e2e3ec37..9ef2afc0 100644 --- a/spec/electra/aggregateandproof.go +++ b/spec/electra/aggregateandproof.go @@ -18,10 +18,11 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/attestantio/go-eth2-client/spec/phase0" "strconv" "strings" + "github.com/attestantio/go-eth2-client/spec/phase0" + "github.com/goccy/go-yaml" "github.com/pkg/errors" ) diff --git a/spec/electra/consolidation_json.go b/spec/electra/consolidation_json.go index 3a65d1d2..e7ca474f 100644 --- a/spec/electra/consolidation_json.go +++ b/spec/electra/consolidation_json.go @@ -15,6 +15,7 @@ package electra import ( "encoding/json" + "github.com/attestantio/go-eth2-client/codecs" "github.com/attestantio/go-eth2-client/spec/phase0" "github.com/pkg/errors" diff --git a/spec/electra/consolidation_yaml.go b/spec/electra/consolidation_yaml.go index 134d15a1..f31a3e55 100644 --- a/spec/electra/consolidation_yaml.go +++ b/spec/electra/consolidation_yaml.go @@ -16,6 +16,7 @@ package electra import ( "bytes" "encoding/json" + "github.com/attestantio/go-eth2-client/spec/phase0" "github.com/goccy/go-yaml" "github.com/pkg/errors" diff --git a/spec/electra/signedaggregateandproof.go b/spec/electra/signedaggregateandproof.go index b1f0c2a8..f76dbc0f 100644 --- a/spec/electra/signedaggregateandproof.go +++ b/spec/electra/signedaggregateandproof.go @@ -18,9 +18,10 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/attestantio/go-eth2-client/spec/phase0" "strings" + "github.com/attestantio/go-eth2-client/spec/phase0" + "github.com/goccy/go-yaml" "github.com/pkg/errors" ) diff --git a/spec/electra/signedconsolidation_json.go b/spec/electra/signedconsolidation_json.go index 10ffe41f..fdb4ab01 100644 --- a/spec/electra/signedconsolidation_json.go +++ b/spec/electra/signedconsolidation_json.go @@ -15,6 +15,7 @@ package electra import ( "encoding/json" + "github.com/attestantio/go-eth2-client/codecs" "github.com/attestantio/go-eth2-client/spec/phase0" "github.com/pkg/errors"