Skip to content

Commit 60ad5fa

Browse files
committed
Alias ProtobufBeaconStateFulu to ProtobufBeaconStateElectra
1 parent a2d3db0 commit 60ad5fa

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

beacon-chain/state/state-native/getters_state.go

+1-9
Original file line numberDiff line numberDiff line change
@@ -554,12 +554,4 @@ func ProtobufBeaconStateElectra(s interface{}) (*ethpb.BeaconStateElectra, error
554554
return pbState, nil
555555
}
556556

557-
// ProtobufBeaconStateFulu transforms an input into beacon state Fulu in the form of protobuf.
558-
// Error is returned if the input is not type protobuf beacon state.
559-
func ProtobufBeaconStateFulu(s interface{}) (*ethpb.BeaconStateElectra, error) {
560-
pbState, ok := s.(*ethpb.BeaconStateElectra)
561-
if !ok {
562-
return nil, errors.New("input is not type pb.BeaconStateElectra")
563-
}
564-
return pbState, nil
565-
}
557+
var ProtobufBeaconStateFulu = ProtobufBeaconStateElectra

0 commit comments

Comments
 (0)