xyz.stratalab.node.services.FetchEpochDataResValidator.scala Maven / Gradle / Ivy
The newest version!
package xyz.stratalab.node.services
object FetchEpochDataResValidator extends scalapb.validate.Validator[xyz.stratalab.node.services.FetchEpochDataRes] {
def validate(input: xyz.stratalab.node.services.FetchEpochDataRes): scalapb.validate.Result =
scalapb.validate.Result.optional(input.epochData) { _value =>
xyz.stratalab.proto.node.EpochDataValidator.validate(_value)
}
}