QuerySigningInfoResponse.deserialize constructor

QuerySigningInfoResponse.deserialize(
  1. List<int> bytes
)

Implementation

factory QuerySigningInfoResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QuerySigningInfoResponse(
    valSigningInfo: decode
        .messageTo<cosmos_slashing_v1beta1_slashing.ValidatorSigningInfo?>(
          1,
          (b) => cosmos_slashing_v1beta1_slashing
              .ValidatorSigningInfo.deserialize(b),
        ),
  );
}