Skip to content

Commit

Permalink
clean uw files
Browse files Browse the repository at this point in the history
  • Loading branch information
sainoe committed Aug 30, 2024
1 parent 4c30f6b commit 5773cf3
Show file tree
Hide file tree
Showing 3 changed files with 441 additions and 433 deletions.
32 changes: 18 additions & 14 deletions proto/interchain_security/ccv/provider/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,6 @@ service Query {
"/interchain_security/ccv/provider/registered_consumer_reward_denoms";
}

// QueryAllPairsValConAddrByConsumerChainID returns a list of pair valconsensus address
// between provider and consumer chain
rpc QueryAllPairsValConAddrByConsumerChainID (
QueryAllPairsValConAddrByConsumerChainIDRequest)
returns (QueryAllPairsValConAddrByConsumerChainIDResponse) {
option (google.api.http) = {
// [DEPRECATED] use the {consumer_id} endpoint instead.
get: "/interchain_security/ccv/provider/{chain_id}";
additional_bindings {
get: "/interchain_security/ccv/provider/{consumer_id}";
}
};
}

// QueryParams returns all current values of provider parameters
rpc QueryParams(QueryParamsRequest)
Expand Down Expand Up @@ -163,7 +150,24 @@ service Query {
option (google.api.http).get =
"/interchain_security/ccv/provider/consumer_chain/{consumer_id}";
}
}

// QueryAllPairsValConAddrByConsumerChainID returns a list of pair valconsensus address
// between provider and consumer chain
// note that this query must come AFTER all other queries using
// the "/interchain_security/ccv/provider" REST endpoint
rpc QueryAllPairsValConAddrByConsumerChainID (
QueryAllPairsValConAddrByConsumerChainIDRequest)
returns (QueryAllPairsValConAddrByConsumerChainIDResponse) {
option (google.api.http) = {
// [DEPRECATED] use the {consumer_id} endpoint instead.
get: "/interchain_security/ccv/provider/{chain_id}";
additional_bindings {
get: "/interchain_security/ccv/provider/{consumer_id}";
}
};
}
}


message QueryConsumerGenesisRequest {
// [DEPRECATED] use `consumer_id` instead
Expand Down
Loading

0 comments on commit 5773cf3

Please sign in to comment.