From e85ef76ce2da1ca9ad0069ab3b04a95cb30f7bac Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Fri, 5 Apr 2024 15:24:51 -0500 Subject: [PATCH] Remove name from require imports --- api/v1/attesterduty_test.go | 2 +- api/v1/beaconblockheader_test.go | 2 +- api/v1/beaconcommittee_test.go | 2 +- api/v1/beaconcommitteesubscription_test.go | 2 +- api/v1/bellatrix/blindedbeaconblock_test.go | 2 +- api/v1/bellatrix/blindedbeaconblockbody_test.go | 2 +- api/v1/bellatrix/signedblindedbeaconblock_test.go | 2 +- api/v1/blobsidecarevent_test.go | 2 +- api/v1/blockevent_test.go | 2 +- api/v1/capella/blindedbeaconblock_test.go | 2 +- api/v1/capella/blindedbeaconblockbody_test.go | 2 +- api/v1/capella/signedblindedbeaconblock_test.go | 2 +- api/v1/chainreorgevent_test.go | 2 +- api/v1/deneb/blindedbeaconblock_test.go | 2 +- api/v1/deneb/blindedbeaconblockbody_test.go | 2 +- api/v1/deneb/blockcontents_test.go | 2 +- api/v1/deneb/signedblindedbeaconblock_test.go | 2 +- api/v1/deneb/signedblockcontents_test.go | 2 +- api/v1/depositcontract_test.go | 2 +- api/v1/event_test.go | 2 +- api/v1/finality_test.go | 2 +- api/v1/finalizedcheckpointevent_test.go | 2 +- api/v1/genesis_test.go | 2 +- api/v1/headevent_test.go | 2 +- api/v1/payloadattributesevent_test.go | 2 +- api/v1/peers_test.go | 2 +- api/v1/proposalpreparation_test.go | 2 +- api/v1/proposerduty_test.go | 2 +- api/v1/signedvalidatorregistration_test.go | 2 +- api/v1/synccommittee_test.go | 2 +- api/v1/synccommitteeduty_test.go | 2 +- api/v1/synccommitteesubscription_test.go | 2 +- api/v1/syncstate_test.go | 2 +- api/v1/validator_test.go | 2 +- api/v1/validatorbalance_test.go | 2 +- api/v1/validatorregistration_test.go | 2 +- spec/altair/beaconblock_test.go | 2 +- spec/altair/beaconblockbody_test.go | 2 +- spec/altair/consensusspec_test.go | 2 +- spec/altair/contributionandproof_test.go | 2 +- spec/altair/signedbeaconblock_test.go | 2 +- spec/altair/signedcontributionandproof_test.go | 2 +- spec/altair/synccommittee_test.go | 2 +- spec/altair/synccommitteecontribution_test.go | 2 +- spec/altair/synccommitteemessage_test.go | 2 +- spec/bellatrix/beaconblock_test.go | 2 +- spec/bellatrix/beaconblockbody_test.go | 2 +- spec/bellatrix/consensusspec_test.go | 2 +- spec/bellatrix/executionpayload_test.go | 2 +- spec/bellatrix/executionpayloadheader_test.go | 2 +- spec/bellatrix/signedbeaconblock_test.go | 2 +- spec/bellatrix/types_test.go | 2 +- spec/capella/beaconblock_test.go | 2 +- spec/capella/beaconblockbody_test.go | 2 +- spec/capella/consensusspec_test.go | 2 +- spec/capella/executionpayload_test.go | 2 +- spec/capella/executionpayloadheader_test.go | 2 +- spec/capella/historicalsummary_json_test.go | 2 +- spec/capella/historicalsummary_yaml_test.go | 2 +- spec/capella/signedbeaconblock_test.go | 2 +- spec/deneb/beaconblock_test.go | 2 +- spec/deneb/beaconblockbody_test.go | 2 +- spec/deneb/beaconstate_test.go | 2 +- spec/deneb/blobidentifier_test.go | 2 +- spec/deneb/blobsidecar_test.go | 2 +- spec/deneb/consensusspec_test.go | 2 +- spec/deneb/executionpayload_test.go | 2 +- spec/deneb/executionpayloadheader_test.go | 2 +- spec/deneb/kzgcommitmentinclusionproof_test.go | 2 +- spec/deneb/signedbeaconblock_test.go | 2 +- spec/phase0/consensusspec_test.go | 2 +- 71 files changed, 71 insertions(+), 71 deletions(-) diff --git a/api/v1/attesterduty_test.go b/api/v1/attesterduty_test.go index 59951f40..b617a21c 100644 --- a/api/v1/attesterduty_test.go +++ b/api/v1/attesterduty_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestAttesterDutyJSON(t *testing.T) { diff --git a/api/v1/beaconblockheader_test.go b/api/v1/beaconblockheader_test.go index b0e9f714..8c368222 100644 --- a/api/v1/beaconblockheader_test.go +++ b/api/v1/beaconblockheader_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBeaconBlockHeaderJSON(t *testing.T) { diff --git a/api/v1/beaconcommittee_test.go b/api/v1/beaconcommittee_test.go index 7ede7a50..9845e6ad 100644 --- a/api/v1/beaconcommittee_test.go +++ b/api/v1/beaconcommittee_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBeaconCommitteeJSON(t *testing.T) { diff --git a/api/v1/beaconcommitteesubscription_test.go b/api/v1/beaconcommitteesubscription_test.go index 936bd35c..3f90ea54 100644 --- a/api/v1/beaconcommitteesubscription_test.go +++ b/api/v1/beaconcommitteesubscription_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBeaconCommitteeSubscriptionJSON(t *testing.T) { diff --git a/api/v1/bellatrix/blindedbeaconblock_test.go b/api/v1/bellatrix/blindedbeaconblock_test.go index ab198431..fec3780d 100644 --- a/api/v1/bellatrix/blindedbeaconblock_test.go +++ b/api/v1/bellatrix/blindedbeaconblock_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/api/v1/bellatrix" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBlindedBeaconBlockJSON(t *testing.T) { diff --git a/api/v1/bellatrix/blindedbeaconblockbody_test.go b/api/v1/bellatrix/blindedbeaconblockbody_test.go index f6fd7ea0..0c9ebadd 100644 --- a/api/v1/bellatrix/blindedbeaconblockbody_test.go +++ b/api/v1/bellatrix/blindedbeaconblockbody_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/api/v1/bellatrix" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBlindedBeaconBlockBodyJSON(t *testing.T) { diff --git a/api/v1/bellatrix/signedblindedbeaconblock_test.go b/api/v1/bellatrix/signedblindedbeaconblock_test.go index 136ce2f5..4d01986e 100644 --- a/api/v1/bellatrix/signedblindedbeaconblock_test.go +++ b/api/v1/bellatrix/signedblindedbeaconblock_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/api/v1/bellatrix" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSignedBlindedBeaconBlockJSON(t *testing.T) { diff --git a/api/v1/blobsidecarevent_test.go b/api/v1/blobsidecarevent_test.go index dc412ea1..1baab68e 100644 --- a/api/v1/blobsidecarevent_test.go +++ b/api/v1/blobsidecarevent_test.go @@ -6,7 +6,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBlobSidecarEventJSON(t *testing.T) { diff --git a/api/v1/blockevent_test.go b/api/v1/blockevent_test.go index 08048cfc..f26e8720 100644 --- a/api/v1/blockevent_test.go +++ b/api/v1/blockevent_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBlockEventJSON(t *testing.T) { diff --git a/api/v1/capella/blindedbeaconblock_test.go b/api/v1/capella/blindedbeaconblock_test.go index b8713dea..eaf55ec7 100644 --- a/api/v1/capella/blindedbeaconblock_test.go +++ b/api/v1/capella/blindedbeaconblock_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/api/v1/capella" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBlindedBeaconBlockJSON(t *testing.T) { diff --git a/api/v1/capella/blindedbeaconblockbody_test.go b/api/v1/capella/blindedbeaconblockbody_test.go index 20bf1af9..e8602247 100644 --- a/api/v1/capella/blindedbeaconblockbody_test.go +++ b/api/v1/capella/blindedbeaconblockbody_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/api/v1/capella" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBlindedBeaconBlockBodyJSON(t *testing.T) { diff --git a/api/v1/capella/signedblindedbeaconblock_test.go b/api/v1/capella/signedblindedbeaconblock_test.go index b5efba44..6ed3191e 100644 --- a/api/v1/capella/signedblindedbeaconblock_test.go +++ b/api/v1/capella/signedblindedbeaconblock_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/api/v1/capella" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSignedBlindedBeaconBlockJSON(t *testing.T) { diff --git a/api/v1/chainreorgevent_test.go b/api/v1/chainreorgevent_test.go index d003bbd2..abf796c8 100644 --- a/api/v1/chainreorgevent_test.go +++ b/api/v1/chainreorgevent_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestChainReorgEventJSON(t *testing.T) { diff --git a/api/v1/deneb/blindedbeaconblock_test.go b/api/v1/deneb/blindedbeaconblock_test.go index 64d0a601..0e836125 100644 --- a/api/v1/deneb/blindedbeaconblock_test.go +++ b/api/v1/deneb/blindedbeaconblock_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/api/v1/deneb" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBlindedBeaconBlockJSON(t *testing.T) { diff --git a/api/v1/deneb/blindedbeaconblockbody_test.go b/api/v1/deneb/blindedbeaconblockbody_test.go index 5507b807..126d3b4d 100644 --- a/api/v1/deneb/blindedbeaconblockbody_test.go +++ b/api/v1/deneb/blindedbeaconblockbody_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/api/v1/deneb" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBlindedBeaconBlockBodyJSON(t *testing.T) { diff --git a/api/v1/deneb/blockcontents_test.go b/api/v1/deneb/blockcontents_test.go index 4aacce69..fc3b069b 100644 --- a/api/v1/deneb/blockcontents_test.go +++ b/api/v1/deneb/blockcontents_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/api/v1/deneb" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBlockContentsJSON(t *testing.T) { diff --git a/api/v1/deneb/signedblindedbeaconblock_test.go b/api/v1/deneb/signedblindedbeaconblock_test.go index 5e368656..61aa788b 100644 --- a/api/v1/deneb/signedblindedbeaconblock_test.go +++ b/api/v1/deneb/signedblindedbeaconblock_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/api/v1/deneb" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSignedBlindedBeaconBlockJSON(t *testing.T) { diff --git a/api/v1/deneb/signedblockcontents_test.go b/api/v1/deneb/signedblockcontents_test.go index 76828ab8..372f9a54 100644 --- a/api/v1/deneb/signedblockcontents_test.go +++ b/api/v1/deneb/signedblockcontents_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/api/v1/deneb" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSignedBlockContentsJSON(t *testing.T) { diff --git a/api/v1/depositcontract_test.go b/api/v1/depositcontract_test.go index 72d32cc1..125c4ad1 100644 --- a/api/v1/depositcontract_test.go +++ b/api/v1/depositcontract_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestDepositContractJSON(t *testing.T) { diff --git a/api/v1/event_test.go b/api/v1/event_test.go index ca553f17..3cc4ad51 100644 --- a/api/v1/event_test.go +++ b/api/v1/event_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestEvent(t *testing.T) { diff --git a/api/v1/finality_test.go b/api/v1/finality_test.go index 0dfb9033..938fa48c 100644 --- a/api/v1/finality_test.go +++ b/api/v1/finality_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestFinalityJSON(t *testing.T) { diff --git a/api/v1/finalizedcheckpointevent_test.go b/api/v1/finalizedcheckpointevent_test.go index 6bc5f06c..3a9427e1 100644 --- a/api/v1/finalizedcheckpointevent_test.go +++ b/api/v1/finalizedcheckpointevent_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestFinalizedCheckpointEventJSON(t *testing.T) { diff --git a/api/v1/genesis_test.go b/api/v1/genesis_test.go index c2224de8..f6e52ea1 100644 --- a/api/v1/genesis_test.go +++ b/api/v1/genesis_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestGenesisJSON(t *testing.T) { diff --git a/api/v1/headevent_test.go b/api/v1/headevent_test.go index de7bb609..b9a02b35 100644 --- a/api/v1/headevent_test.go +++ b/api/v1/headevent_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestHeadEventJSON(t *testing.T) { diff --git a/api/v1/payloadattributesevent_test.go b/api/v1/payloadattributesevent_test.go index 3c18445a..8816e156 100644 --- a/api/v1/payloadattributesevent_test.go +++ b/api/v1/payloadattributesevent_test.go @@ -6,7 +6,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestPayloadAttributesEventJSON(t *testing.T) { diff --git a/api/v1/peers_test.go b/api/v1/peers_test.go index 1ada6262..029a78e4 100644 --- a/api/v1/peers_test.go +++ b/api/v1/peers_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestNodePeerJSON(t *testing.T) { diff --git a/api/v1/proposalpreparation_test.go b/api/v1/proposalpreparation_test.go index f6a09fd1..ce031b81 100644 --- a/api/v1/proposalpreparation_test.go +++ b/api/v1/proposalpreparation_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestProposalPreparationJSON(t *testing.T) { diff --git a/api/v1/proposerduty_test.go b/api/v1/proposerduty_test.go index 5d7bf77c..910c4728 100644 --- a/api/v1/proposerduty_test.go +++ b/api/v1/proposerduty_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestProposerDutyJSON(t *testing.T) { diff --git a/api/v1/signedvalidatorregistration_test.go b/api/v1/signedvalidatorregistration_test.go index 1272f5ec..5bbd5589 100644 --- a/api/v1/signedvalidatorregistration_test.go +++ b/api/v1/signedvalidatorregistration_test.go @@ -21,7 +21,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSignedValidatorRegistrationJSON(t *testing.T) { diff --git a/api/v1/synccommittee_test.go b/api/v1/synccommittee_test.go index 0d63faf5..d278b92e 100644 --- a/api/v1/synccommittee_test.go +++ b/api/v1/synccommittee_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSyncCommitteeJSON(t *testing.T) { diff --git a/api/v1/synccommitteeduty_test.go b/api/v1/synccommitteeduty_test.go index cc6d27ac..49d06571 100644 --- a/api/v1/synccommitteeduty_test.go +++ b/api/v1/synccommitteeduty_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSyncCommitteeDutyJSON(t *testing.T) { diff --git a/api/v1/synccommitteesubscription_test.go b/api/v1/synccommitteesubscription_test.go index 57ad64e3..1494b74d 100644 --- a/api/v1/synccommitteesubscription_test.go +++ b/api/v1/synccommitteesubscription_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSyncCommitteeSubscriptionJSON(t *testing.T) { diff --git a/api/v1/syncstate_test.go b/api/v1/syncstate_test.go index 7e1a41e6..e6931ea7 100644 --- a/api/v1/syncstate_test.go +++ b/api/v1/syncstate_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSyncStateJSON(t *testing.T) { diff --git a/api/v1/validator_test.go b/api/v1/validator_test.go index ec889d77..061628c3 100644 --- a/api/v1/validator_test.go +++ b/api/v1/validator_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestValidatorJSON(t *testing.T) { diff --git a/api/v1/validatorbalance_test.go b/api/v1/validatorbalance_test.go index 423c5a12..727890cc 100644 --- a/api/v1/validatorbalance_test.go +++ b/api/v1/validatorbalance_test.go @@ -19,7 +19,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestValidatorBalanceJSON(t *testing.T) { diff --git a/api/v1/validatorregistration_test.go b/api/v1/validatorregistration_test.go index ea837fdd..687217cc 100644 --- a/api/v1/validatorregistration_test.go +++ b/api/v1/validatorregistration_test.go @@ -21,7 +21,7 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestValidatorRegistrationJSON(t *testing.T) { diff --git a/spec/altair/beaconblock_test.go b/spec/altair/beaconblock_test.go index 83985785..bd0fec66 100644 --- a/spec/altair/beaconblock_test.go +++ b/spec/altair/beaconblock_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/altair" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBeaconBlockJSON(t *testing.T) { diff --git a/spec/altair/beaconblockbody_test.go b/spec/altair/beaconblockbody_test.go index f0c360bd..3712e637 100644 --- a/spec/altair/beaconblockbody_test.go +++ b/spec/altair/beaconblockbody_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/altair" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBeaconBlockBodyJSON(t *testing.T) { diff --git a/spec/altair/consensusspec_test.go b/spec/altair/consensusspec_test.go index b9172be7..d91d6e29 100644 --- a/spec/altair/consensusspec_test.go +++ b/spec/altair/consensusspec_test.go @@ -26,7 +26,7 @@ import ( "github.com/goccy/go-yaml" "github.com/golang/snappy" clone "github.com/huandu/go-clone/generic" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) // TestConsensusSpec tests the types against the Ethereum consensus spec tests. diff --git a/spec/altair/contributionandproof_test.go b/spec/altair/contributionandproof_test.go index a0aae618..c6793797 100644 --- a/spec/altair/contributionandproof_test.go +++ b/spec/altair/contributionandproof_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/altair" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestContributionAndProofJSON(t *testing.T) { diff --git a/spec/altair/signedbeaconblock_test.go b/spec/altair/signedbeaconblock_test.go index 776f9ab2..72ecba06 100644 --- a/spec/altair/signedbeaconblock_test.go +++ b/spec/altair/signedbeaconblock_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/altair" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSignedBeaconBlockJSON(t *testing.T) { diff --git a/spec/altair/signedcontributionandproof_test.go b/spec/altair/signedcontributionandproof_test.go index 2205e144..578c0c54 100644 --- a/spec/altair/signedcontributionandproof_test.go +++ b/spec/altair/signedcontributionandproof_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/altair" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSignedContributionAndProofJSON(t *testing.T) { diff --git a/spec/altair/synccommittee_test.go b/spec/altair/synccommittee_test.go index e21d5f28..c5755688 100644 --- a/spec/altair/synccommittee_test.go +++ b/spec/altair/synccommittee_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/altair" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSyncCommitteeJSON(t *testing.T) { diff --git a/spec/altair/synccommitteecontribution_test.go b/spec/altair/synccommitteecontribution_test.go index d66f0ec7..354aaa79 100644 --- a/spec/altair/synccommitteecontribution_test.go +++ b/spec/altair/synccommitteecontribution_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/altair" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSyncCommitteeContributionJSON(t *testing.T) { diff --git a/spec/altair/synccommitteemessage_test.go b/spec/altair/synccommitteemessage_test.go index 7f991b45..180ec841 100644 --- a/spec/altair/synccommitteemessage_test.go +++ b/spec/altair/synccommitteemessage_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/altair" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSyncCommitteeMessageJSON(t *testing.T) { diff --git a/spec/bellatrix/beaconblock_test.go b/spec/bellatrix/beaconblock_test.go index d3865a8f..2618acd5 100644 --- a/spec/bellatrix/beaconblock_test.go +++ b/spec/bellatrix/beaconblock_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/bellatrix" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBeaconBlockJSON(t *testing.T) { diff --git a/spec/bellatrix/beaconblockbody_test.go b/spec/bellatrix/beaconblockbody_test.go index ac5c53c4..4cf78269 100644 --- a/spec/bellatrix/beaconblockbody_test.go +++ b/spec/bellatrix/beaconblockbody_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/bellatrix" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBeaconBlockBodyJSON(t *testing.T) { diff --git a/spec/bellatrix/consensusspec_test.go b/spec/bellatrix/consensusspec_test.go index d5dabfbf..e3af29fa 100644 --- a/spec/bellatrix/consensusspec_test.go +++ b/spec/bellatrix/consensusspec_test.go @@ -27,7 +27,7 @@ import ( "github.com/goccy/go-yaml" "github.com/golang/snappy" clone "github.com/huandu/go-clone/generic" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) // TestConsensusSpec tests the types against the Ethereum consensus spec tests. diff --git a/spec/bellatrix/executionpayload_test.go b/spec/bellatrix/executionpayload_test.go index e915c183..85e9cf8b 100644 --- a/spec/bellatrix/executionpayload_test.go +++ b/spec/bellatrix/executionpayload_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/bellatrix" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestExecutionPayloadJSON(t *testing.T) { diff --git a/spec/bellatrix/executionpayloadheader_test.go b/spec/bellatrix/executionpayloadheader_test.go index 6676febf..047942d9 100644 --- a/spec/bellatrix/executionpayloadheader_test.go +++ b/spec/bellatrix/executionpayloadheader_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/bellatrix" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestExecutionPayloadHeaderJSON(t *testing.T) { diff --git a/spec/bellatrix/signedbeaconblock_test.go b/spec/bellatrix/signedbeaconblock_test.go index 172eedd3..8b5481a2 100644 --- a/spec/bellatrix/signedbeaconblock_test.go +++ b/spec/bellatrix/signedbeaconblock_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/bellatrix" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSignedBeaconBlockJSON(t *testing.T) { diff --git a/spec/bellatrix/types_test.go b/spec/bellatrix/types_test.go index 343a69c3..ea62b5b6 100644 --- a/spec/bellatrix/types_test.go +++ b/spec/bellatrix/types_test.go @@ -17,7 +17,7 @@ import ( "testing" "github.com/attestantio/go-eth2-client/spec/bellatrix" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestExecutionAddressString(t *testing.T) { diff --git a/spec/capella/beaconblock_test.go b/spec/capella/beaconblock_test.go index 6b422433..c8adfac4 100644 --- a/spec/capella/beaconblock_test.go +++ b/spec/capella/beaconblock_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/capella" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBeaconBlockJSON(t *testing.T) { diff --git a/spec/capella/beaconblockbody_test.go b/spec/capella/beaconblockbody_test.go index f4cb6922..e1f8e6b1 100644 --- a/spec/capella/beaconblockbody_test.go +++ b/spec/capella/beaconblockbody_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/capella" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBeaconBlockBodyJSON(t *testing.T) { diff --git a/spec/capella/consensusspec_test.go b/spec/capella/consensusspec_test.go index 8b000b8a..3e2a6033 100644 --- a/spec/capella/consensusspec_test.go +++ b/spec/capella/consensusspec_test.go @@ -27,7 +27,7 @@ import ( "github.com/goccy/go-yaml" "github.com/golang/snappy" clone "github.com/huandu/go-clone/generic" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) // TestConsensusSpec tests the types against the Ethereum consensus spec tests. diff --git a/spec/capella/executionpayload_test.go b/spec/capella/executionpayload_test.go index f6a25dfc..108aa079 100644 --- a/spec/capella/executionpayload_test.go +++ b/spec/capella/executionpayload_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/capella" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestExecutionPayloadJSON(t *testing.T) { diff --git a/spec/capella/executionpayloadheader_test.go b/spec/capella/executionpayloadheader_test.go index 7ffe6f0a..8ebc6e8d 100644 --- a/spec/capella/executionpayloadheader_test.go +++ b/spec/capella/executionpayloadheader_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/capella" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestExecutionPayloadHeaderJSON(t *testing.T) { diff --git a/spec/capella/historicalsummary_json_test.go b/spec/capella/historicalsummary_json_test.go index c2b54824..dce9976e 100644 --- a/spec/capella/historicalsummary_json_test.go +++ b/spec/capella/historicalsummary_json_test.go @@ -19,7 +19,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/capella" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestHistoricalSummaryJSON(t *testing.T) { diff --git a/spec/capella/historicalsummary_yaml_test.go b/spec/capella/historicalsummary_yaml_test.go index 65f9e33c..7c74c891 100644 --- a/spec/capella/historicalsummary_yaml_test.go +++ b/spec/capella/historicalsummary_yaml_test.go @@ -20,7 +20,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/capella" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestHistoricalSummaryYAML(t *testing.T) { diff --git a/spec/capella/signedbeaconblock_test.go b/spec/capella/signedbeaconblock_test.go index 81b8a54e..e0eb87dc 100644 --- a/spec/capella/signedbeaconblock_test.go +++ b/spec/capella/signedbeaconblock_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/capella" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSignedBeaconBlockJSON(t *testing.T) { diff --git a/spec/deneb/beaconblock_test.go b/spec/deneb/beaconblock_test.go index 53e2d3e0..72c6b9d0 100644 --- a/spec/deneb/beaconblock_test.go +++ b/spec/deneb/beaconblock_test.go @@ -20,7 +20,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/deneb" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBeaconBlockJSON(t *testing.T) { diff --git a/spec/deneb/beaconblockbody_test.go b/spec/deneb/beaconblockbody_test.go index 155956c5..0c988896 100644 --- a/spec/deneb/beaconblockbody_test.go +++ b/spec/deneb/beaconblockbody_test.go @@ -20,7 +20,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/deneb" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBeaconBlockBodyJSON(t *testing.T) { diff --git a/spec/deneb/beaconstate_test.go b/spec/deneb/beaconstate_test.go index b00679e0..0017abb1 100644 --- a/spec/deneb/beaconstate_test.go +++ b/spec/deneb/beaconstate_test.go @@ -19,7 +19,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/deneb" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBeaconStateJSON(t *testing.T) { diff --git a/spec/deneb/blobidentifier_test.go b/spec/deneb/blobidentifier_test.go index f443ed99..e0ff2dae 100644 --- a/spec/deneb/blobidentifier_test.go +++ b/spec/deneb/blobidentifier_test.go @@ -20,7 +20,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/deneb" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBlobIdentifierJSON(t *testing.T) { diff --git a/spec/deneb/blobsidecar_test.go b/spec/deneb/blobsidecar_test.go index f534a1b3..87d87f9b 100644 --- a/spec/deneb/blobsidecar_test.go +++ b/spec/deneb/blobsidecar_test.go @@ -21,7 +21,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/deneb" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestBlobSidecarJSON(t *testing.T) { diff --git a/spec/deneb/consensusspec_test.go b/spec/deneb/consensusspec_test.go index f7208076..e6225222 100644 --- a/spec/deneb/consensusspec_test.go +++ b/spec/deneb/consensusspec_test.go @@ -28,7 +28,7 @@ import ( "github.com/goccy/go-yaml" "github.com/golang/snappy" clone "github.com/huandu/go-clone/generic" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) // TestConsensusSpec tests the types against the Ethereum consensus spec tests. diff --git a/spec/deneb/executionpayload_test.go b/spec/deneb/executionpayload_test.go index d95cf7ff..15628b50 100644 --- a/spec/deneb/executionpayload_test.go +++ b/spec/deneb/executionpayload_test.go @@ -20,7 +20,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/deneb" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestExecutionPayloadJSON(t *testing.T) { diff --git a/spec/deneb/executionpayloadheader_test.go b/spec/deneb/executionpayloadheader_test.go index 203c4ca4..d8b8f510 100644 --- a/spec/deneb/executionpayloadheader_test.go +++ b/spec/deneb/executionpayloadheader_test.go @@ -20,7 +20,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/deneb" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestExecutionPayloadHeaderJSON(t *testing.T) { diff --git a/spec/deneb/kzgcommitmentinclusionproof_test.go b/spec/deneb/kzgcommitmentinclusionproof_test.go index a6001c8a..27147d22 100644 --- a/spec/deneb/kzgcommitmentinclusionproof_test.go +++ b/spec/deneb/kzgcommitmentinclusionproof_test.go @@ -19,7 +19,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/deneb" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestKZGCommitmentInclusionProofJSON(t *testing.T) { diff --git a/spec/deneb/signedbeaconblock_test.go b/spec/deneb/signedbeaconblock_test.go index f0a550bd..e4bef20f 100644 --- a/spec/deneb/signedbeaconblock_test.go +++ b/spec/deneb/signedbeaconblock_test.go @@ -20,7 +20,7 @@ import ( "github.com/attestantio/go-eth2-client/spec/deneb" "github.com/goccy/go-yaml" "github.com/stretchr/testify/assert" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) func TestSignedBeaconBlockJSON(t *testing.T) { diff --git a/spec/phase0/consensusspec_test.go b/spec/phase0/consensusspec_test.go index 964781dd..eaa713ad 100644 --- a/spec/phase0/consensusspec_test.go +++ b/spec/phase0/consensusspec_test.go @@ -25,7 +25,7 @@ import ( "github.com/goccy/go-yaml" "github.com/golang/snappy" clone "github.com/huandu/go-clone/generic" - require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/require" ) // TestConsensusSpec tests the types against the Ethereum consensus spec tests.