evidence
The evidence
module is responsible for the submission and handling of arbitrary evidence of misbehavior such as equivocation and counterfactual signing.
For more information, visit https://docs.cosmos.network/main/modules/evidence
Message Types
Msg
defines the evidence Msg service.
_5 // SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or
_5 // counterfactual signing.
_5 rpc SubmitEvidence(MsgSubmitEvidence) returns (MsgSubmitEvidenceResponse);
MsgSubmitEvidence
MsgSubmitEvidence
represents a message that supports submitting arbitrary Evidence of misbehavior such as equivocation or counterfactual signing.
_9message MsgSubmitEvidence {
_9 option (cosmos.msg.v1.signer) = "submitter";
_9 option (gogoproto.equal) = false;
_9 option (gogoproto.goproto_getters) = false;
_9 string submitter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
_9 google.protobuf.Any evidence = 2 [(cosmos_proto.accepts_interface) = "Evidence"];
MsgSubmitEvidenceResponse
MsgSubmitEvidenceResponse
defines the Msg/SubmitEvidence
response type.
_4message MsgSubmitEvidenceResponse {
_4 // hash defines the hash of the evidence.
Queries
Query
defines the gRPC querier service.
_11 // Evidence queries evidence based on evidence hash.
_11 rpc Evidence(QueryEvidenceRequest) returns (QueryEvidenceResponse) {
_11 option (google.api.http).get = "/cosmos/evidence/v1beta1/evidence/{evidence_hash}";
_11 // AllEvidence queries all evidence.
_11 rpc AllEvidence(QueryAllEvidenceRequest) returns (QueryAllEvidenceResponse) {
_11 option (google.api.http).get = "/cosmos/evidence/v1beta1/evidence";
QueryEvidenceRequest
QueryEvidenceRequest
is the request type for the Query/Evidence
RPC method.
_4message QueryEvidenceRequest {
_4 // evidence_hash defines the hash of the requested evidence.
_4 bytes evidence_hash = 1 [(gogoproto.casttype) = "github.com/tendermint/tendermint/libs/bytes.HexBytes"];
QueryEvidenceResponse
QueryEvidenceResponse
is the response type for the Query/Evidence
RPC method.
_4message QueryEvidenceResponse {
_4 // evidence returns the requested evidence.
_4 google.protobuf.Any evidence = 1;
QueryEvidenceRequest
QueryEvidenceRequest
is the request type for the Query/AllEvidence
RPC
_4message QueryAllEvidenceRequest {
_4 // pagination defines an optional pagination for the request.
_4 cosmos.base.query.v1beta1.PageRequest pagination = 1;
QueryAllEvidenceResponse
QueryAllEvidenceResponse
is the response type for the Query/AllEvidence
RPC method.
_7message QueryAllEvidenceResponse {
_7 // evidence returns all evidences.
_7 repeated google.protobuf.Any evidence = 1;
_7 // pagination defines the pagination in the response.
_7 cosmos.base.query.v1beta1.PageResponse pagination = 2;