diff --git a/spec/electra/beaconblockbody_json.go b/spec/electra/beaconblockbody_json.go index 874859e8..3ee74d89 100644 --- a/spec/electra/beaconblockbody_json.go +++ b/spec/electra/beaconblockbody_json.go @@ -69,6 +69,8 @@ func (b *BeaconBlockBody) MarshalJSON() ([]byte, error) { } // UnmarshalJSON implements json.Unmarshaler. +// +//nolint:gocyclo func (b *BeaconBlockBody) UnmarshalJSON(input []byte) error { raw, err := codecs.RawJSON(&beaconBlockBodyJSON{}, input) if err != nil { diff --git a/spec/electra/executionrequests_json.go b/spec/electra/executionrequests_json.go index 8325841e..5fa7aa0a 100644 --- a/spec/electra/executionrequests_json.go +++ b/spec/electra/executionrequests_json.go @@ -38,8 +38,6 @@ func (e *ExecutionRequests) MarshalJSON() ([]byte, error) { } // UnmarshalJSON implements json.Unmarshaler. -// -//nolint:gocyclo func (e *ExecutionRequests) UnmarshalJSON(input []byte) error { raw, err := codecs.RawJSON(&executionRequestsJSON{}, input) if err != nil {