-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add equivocation proposal message back in protos (#1394)
* add depreacted equiv prop msg def * add codec and content for equivo proposal msg * doc * proto
- Loading branch information
Showing
5 changed files
with
506 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
syntax = "proto3"; | ||
package cosmos.evidence.v1beta1; | ||
|
||
option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; | ||
option (gogoproto.equal_all) = true; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "google/protobuf/timestamp.proto"; | ||
|
||
// Equivocation implements the Evidence interface and defines evidence of double | ||
// signing misbehavior. | ||
message Equivocation { | ||
option (gogoproto.goproto_stringer) = false; | ||
option (gogoproto.goproto_getters) = false; | ||
option (gogoproto.equal) = false; | ||
|
||
int64 height = 1; | ||
google.protobuf.Timestamp time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; | ||
int64 power = 3; | ||
string consensus_address = 4 [(gogoproto.moretags) = "yaml:\"consensus_address\""]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.