-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: add cryptographic equivocation #1340
Changes from 31 commits
42279c8
8ce740f
e8230bc
42f916e
2395b6f
163da4e
afa541f
362b7c0
16e71ab
8a1b3ca
a77eea1
309bd85
2573975
6b0a94a
21e3d83
292ad75
f168b9b
f12a5c0
2501e83
eb6a079
98af9c0
c881a1a
494c4d2
a71f1fe
3be76ad
691d206
88e0717
022cd5d
a8f6b11
04ca9a1
8163735
ac9f3ff
1fbaf09
517cdb4
dddcd1b
d9903a2
67b8c31
1fd8409
e424e47
e27b7b7
e7a8e7b
7868be6
8349b82
ea545b4
92a9d17
f8f1029
00d4f2f
e29cb92
d35c983
9688154
108fe33
1aaea88
1d511b4
991181a
c858173
fb92af9
28e0c14
9f23165
7092914
f886a7b
a290d76
7dc78bb
ecd796f
6769af5
e070f3b
80e9d25
310788e
f2c1a3f
a22030b
84955b9
12c1bda
c72fa09
74a3314
481f0cc
eabf667
6c3d1b5
9037e30
d458eda
af531f3
26c1b11
7440b43
d61f474
1895f87
695bd6e
8caad9f
3310d91
2d476c2
03aada4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Add the cryptographic verification of equivocation feature to the | ||
provider (cf. ADR-005 & ADR-013) and remove the equivocation proposal. | ||
([\#1340](https://github.com/cosmos/interchain-security/pull/1340)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Add the cryptographic verification of equivocation feature to the provider | ||
(cf. ADR-005 & ADR-013). ([\#1340](https://github.com/cosmos/interchain-security/pull/1340)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Add the cryptographic verification of equivocation feature to the provider | ||
(cf. ADR-005 & ADR-013). ([\#1340](https://github.com/cosmos/interchain-security/pull/1340)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ import "google/protobuf/duration.proto"; | |
import "ibc/core/client/v1/client.proto"; | ||
import "ibc/lightclients/tendermint/v1/tendermint.proto"; | ||
import "tendermint/crypto/keys.proto"; | ||
import "cosmos/evidence/v1beta1/evidence.proto"; | ||
import "cosmos/base/v1beta1/coin.proto"; | ||
|
||
// | ||
|
@@ -101,6 +102,22 @@ message ConsumerRemovalProposal { | |
[ (gogoproto.stdtime) = true, (gogoproto.nullable) = false ]; | ||
} | ||
|
||
// EquivocationProposal is a governance proposal on the provider chain to | ||
// punish a validator for equivocation on a consumer chain. | ||
// | ||
// This type is only used internally to the consumer CCV module. | ||
// WARNING: This message is deprecated now that equivocations can be submitted | ||
// and verified automatically on the provider. (see SubmitConsumerDoubleVoting in proto/interchain-security/ccv/provider/v1/tx.proto). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we remove those at some point? With a next release or so? If yes, then it would make sense to create an issue so we don't forget to do so. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing them would require a migration since an equivocation prop exists in states (prop 818). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Meaning we should do this if we have a release coming up that needs a migration anyways? |
||
message EquivocationProposal { | ||
option deprecated = true; | ||
// the title of the proposal | ||
string title = 1; | ||
// the description of the proposal | ||
string description = 2; | ||
// the list of equivocations that will be processed | ||
repeated cosmos.evidence.v1beta1.Equivocation equivocations = 3; | ||
} | ||
|
||
// ChangeRewardDenomsProposal is a governance proposal on the provider chain to | ||
// mutate the set of denoms accepted by the provider as rewards. | ||
message ChangeRewardDenomsProposal { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The linked EPIC's task list also contains slashing issues, so it might make sense to put it in the title here as well?