-
Notifications
You must be signed in to change notification settings - Fork 145
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
fix: test and fix key assignment branch #1431
Changes from 15 commits
584ce4e
b26b453
a240ab5
326423c
94fd342
f196cc9
642ca29
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 @@ | ||
- Change the states by adding a consumer key for each chain that is | ||
not yet registered meaning for which the gov proposal has not passed. | ||
([\#1339](https://github.com/cosmos/interchain-security/pull/1339)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Update how consumer-assigned keys are checked when a validator is | ||
created on the provider. ([\#1339](https://github.com/cosmos/interchain- | ||
security/pull/1339)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
syntax = "proto3"; | ||
Check failure on line 1 in proto/interchain_security/ccv/provider/v1/query.proto GitHub Actions / break-check
Check failure on line 1 in proto/interchain_security/ccv/provider/v1/query.proto GitHub Actions / break-check
Check failure on line 1 in proto/interchain_security/ccv/provider/v1/query.proto GitHub Actions / break-check
|
||
package interchain_security.ccv.provider.v1; | ||
|
||
option go_package = "github.com/cosmos/interchain-security/v3/x/ccv/provider/types"; | ||
|
@@ -10,7 +10,7 @@ | |
import "interchain_security/ccv/v1/shared_consumer.proto"; | ||
import "interchain_security/ccv/v1/wire.proto"; | ||
|
||
service Query { | ||
// ConsumerGenesis queries the genesis state needed to start a consumer chain | ||
// whose proposal has been accepted | ||
rpc QueryConsumerGenesis(QueryConsumerGenesisRequest) | ||
|
@@ -73,6 +73,15 @@ | |
option (google.api.http).get = | ||
"/interchain_security/ccv/provider/registered_consumer_reward_denoms"; | ||
} | ||
|
||
// QueryProposedConsumerChainIDs returns the chain IDs of the proposed consumer chain addition proposals | ||
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. IDNK why git's seeing this change. The protos aren't changed. |
||
// that are still in the voting period | ||
rpc QueryProposedConsumerChainIDs( | ||
QueryProposedChainIDsRequest) | ||
returns (QueryProposedChainIDsResponse) { | ||
option (google.api.http).get = | ||
"/interchain_security/ccv/provider/proposed_consumer_chains"; | ||
} | ||
} | ||
|
||
message QueryConsumerGenesisRequest { string chain_id = 1; } | ||
|
@@ -133,7 +142,7 @@ | |
|
||
message QueryThrottleStateRequest {} | ||
|
||
message QueryThrottleStateResponse { | ||
// current slash_meter state | ||
int64 slash_meter = 1; | ||
// allowance of voting power units (int) that the slash meter is given per | ||
|
@@ -150,3 +159,15 @@ | |
message QueryRegisteredConsumerRewardDenomsResponse { | ||
repeated string denoms = 1; | ||
} | ||
|
||
message QueryProposedChainIDsRequest {} | ||
|
||
message QueryProposedChainIDsResponse { | ||
repeated ProposedChain proposedChains = 1 | ||
[ (gogoproto.nullable) = false ]; | ||
} | ||
|
||
message ProposedChain { | ||
string chainID = 1; | ||
uint64 proposalID = 2; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
@sainoe could you please change this to state-breaking?