From 75c4953e5c41067034dc7221016b2270ef3b0685 Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Mon, 25 Mar 2024 16:07:39 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Sai Kumar <17549398+gsk967@users.noreply.github.com> --- proto/umee/auction/v1/genesis.proto | 2 +- proto/umee/auction/v1/query.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proto/umee/auction/v1/genesis.proto b/proto/umee/auction/v1/genesis.proto index b77340c27a..a266765d19 100644 --- a/proto/umee/auction/v1/genesis.proto +++ b/proto/umee/auction/v1/genesis.proto @@ -17,7 +17,7 @@ message GenesisState { // Latest active (in bid phase) reward auction. uint32 reward_auction_id = 2; // Latest highest bid. - string highest_bidder = 3; + string highest_bidder = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // Tokens collected for the current auction. repeated cosmos.base.v1beta1.Coin current_rewards = 4 [(gogoproto.nullable) = false]; // Tokens collected for the next auction, while the current reward auction is still in the diff --git a/proto/umee/auction/v1/query.proto b/proto/umee/auction/v1/query.proto index 66e563712d..38f33abffa 100644 --- a/proto/umee/auction/v1/query.proto +++ b/proto/umee/auction/v1/query.proto @@ -18,7 +18,7 @@ service Query { // RewardAuction queries the information of the auction by ID. If ID is ommitted, returns // current reward auction params. rpc RewardAuction(QueryRewardAuction) returns (QueryRewardAuctionResponse) { - option (google.api.http).get = "/umee/auction/v1/rewards/{id}"; + option (google.api.http).get = "/umee/auction/v1/rewards"; } }