protoConfigStatic static method

ProtoMessageConfig protoConfigStatic()

Implementation

static ProtoMessageConfig protoConfigStatic() {
  return ProtoMessageConfig(
    syntax: ProtoSyntax.v3,
    options: [
      ProtoOptionHttp(
        name: "google.api.http.get",
        method: RequestMethod.get,
        path: "/cosmos/evidence/v1beta1/evidence/{hash}",
      ),
    ],
    fields: [
      ProtoFieldConfig.bytes(
        1,
        options: [ProtoOptionBool(name: "deprecated", value: true)],
      ),
      ProtoFieldConfig.string(
        2,
        options: [
          ProtoOptionString(
            name: "cosmos_proto.field_added_in",
            value: "cosmos-sdk 0.47",
          ),
        ],
      ),
    ],
  );
}