2022-01-08 01:59:34 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package cosmos.evidence.v1beta1;
|
|
|
|
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types";
|
|
|
|
option (gogoproto.equal_all) = true;
|
|
|
|
|
2024-02-06 22:54:10 +00:00
|
|
|
import "amino/amino.proto";
|
2022-01-08 01:59:34 +00:00
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "google/protobuf/timestamp.proto";
|
2023-04-04 00:08:45 +00:00
|
|
|
import "cosmos_proto/cosmos.proto";
|
2022-01-08 01:59:34 +00:00
|
|
|
|
|
|
|
// Equivocation implements the Evidence interface and defines evidence of double
|
|
|
|
// signing misbehavior.
|
|
|
|
message Equivocation {
|
2024-02-06 22:54:10 +00:00
|
|
|
option (amino.name) = "cosmos-sdk/Equivocation";
|
2022-01-08 01:59:34 +00:00
|
|
|
option (gogoproto.goproto_stringer) = false;
|
|
|
|
option (gogoproto.goproto_getters) = false;
|
|
|
|
option (gogoproto.equal) = false;
|
|
|
|
|
2024-02-06 22:54:10 +00:00
|
|
|
// height is the equivocation height.
|
|
|
|
int64 height = 1;
|
|
|
|
|
|
|
|
// time is the equivocation time.
|
|
|
|
google.protobuf.Timestamp time = 2
|
|
|
|
[(gogoproto.nullable) = false, (amino.dont_omitempty) = true, (gogoproto.stdtime) = true];
|
|
|
|
|
|
|
|
// power is the equivocation validator power.
|
|
|
|
int64 power = 3;
|
|
|
|
|
|
|
|
// consensus_address is the equivocation validator consensus address.
|
|
|
|
string consensus_address = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
2022-01-08 01:59:34 +00:00
|
|
|
}
|