func ForkDataFromProto(data *pb.ForkData) (*ForkData, error) {
	return &ForkData{
		PreForkVersion:  data.PreForkVersion,
		PostForkVersion: data.PostForkVersion,
		ForkSlotNumber:  data.ForkSlot,
	}, nil
}
// ForkDataFromProto gets the fork data from the proto representation.
ForkDataFromProto gets the fork data from the proto representation.
// ForkDataFromProto gets the fork data from the proto representation .
func ForkDataFromProto(data *pb.ForkData) (*ForkData, error) {
	return &ForkData{
		PreForkVersion:  data.PreForkVersion,
		PostForkVersion: data.PostForkVersion,
		ForkSlotNumber:  data.ForkSlot,
	}, nil
}
func ForkDataFromProto ( data * pb . ForkData ) ( * ForkData , error ) { return & ForkData { PreForkVersion : data . PreForkVersion , PostForkVersion : data . PostForkVersion , ForkSlotNumber : data . ForkSlot , } , nil }
ForkDataFromProto gets the fork data from the proto representation.
ForkDataFromProto gets the fork data from the proto representation .