diff --git a/proto/alliance/query.proto b/proto/alliance/query.proto index 2c35cc33..82e6a885 100644 --- a/proto/alliance/query.proto +++ b/proto/alliance/query.proto @@ -21,11 +21,6 @@ service Query { option (google.api.http).get = "/terra/alliances"; } - // Query a specific alliance by denom - rpc Alliance(QueryAllianceRequest) returns (QueryAllianceResponse) { - option (google.api.http).get = "/terra/alliances/{denom}"; - } - // Query a specific alliance by ibc hash rpc IBCAlliance(QueryIBCAllianceRequest) returns (QueryAllianceResponse) { option (google.api.http).get = "/terra/alliances/ibc/{hash}"; @@ -74,6 +69,11 @@ service Query { rpc IBCAllianceDelegationRewards(QueryIBCAllianceDelegationRewardsRequest) returns (QueryAllianceDelegationRewardsResponse) { option (google.api.http).get = "/terra/alliances/rewards/{delegator_addr}/{validator_addr}/ibc/{hash}"; } + + // Query a specific alliance by denom + rpc Alliance(QueryAllianceRequest) returns (QueryAllianceResponse) { + option (google.api.http).get = "/terra/alliances/{denom}"; + } } // Params