github.com/Finschia/finschia-sdk@v0.49.1/proto/cosmos/evidence/v1beta1/tx.proto (about) 1 syntax = "proto3"; 2 package cosmos.evidence.v1beta1; 3 4 option go_package = "github.com/Finschia/finschia-sdk/x/evidence/types"; 5 option (gogoproto.equal_all) = true; 6 7 import "gogoproto/gogo.proto"; 8 import "google/protobuf/any.proto"; 9 import "cosmos_proto/cosmos.proto"; 10 11 // Msg defines the evidence Msg service. 12 service Msg { 13 // SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or 14 // counterfactual signing. 15 rpc SubmitEvidence(MsgSubmitEvidence) returns (MsgSubmitEvidenceResponse); 16 } 17 18 // MsgSubmitEvidence represents a message that supports submitting arbitrary 19 // Evidence of misbehavior such as equivocation or counterfactual signing. 20 message MsgSubmitEvidence { 21 option (gogoproto.equal) = false; 22 option (gogoproto.goproto_getters) = false; 23 24 string submitter = 1; 25 google.protobuf.Any evidence = 2 [(cosmos_proto.accepts_interface) = "Evidence"]; 26 } 27 28 // MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. 29 message MsgSubmitEvidenceResponse { 30 // hash defines the hash of the evidence. 31 bytes hash = 4; 32 }