From 2966992ba8fa0c8e9b718bbaa83a7a4db3282e3e Mon Sep 17 00:00:00 2001 From: Sai Kumar <17549398+gsk967@users.noreply.github.com> Date: Thu, 4 Jul 2024 18:00:09 +0530 Subject: [PATCH] fix: fix the auction rewards params query (#2569) --- proto/umee/auction/v1/query.proto | 2 +- x/auction/query.pb.go | 20 ++++++++++---------- x/auction/query.pb.gw.go | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/proto/umee/auction/v1/query.proto b/proto/umee/auction/v1/query.proto index 82cd775aa7..1611793d9a 100644 --- a/proto/umee/auction/v1/query.proto +++ b/proto/umee/auction/v1/query.proto @@ -17,7 +17,7 @@ option (gogoproto.goproto_getters_all) = false; service Query { // QueryRewardParams queries parameters for the reward auciton. rpc RewardsParams(QueryRewardsParams) returns (QueryRewardsParamsResponse) { - option (google.api.http).get = "/umee/auction/v1/rewards/params"; + option (google.api.http).get = "/umee/auction/v1/rewards_params"; } // RewardAuction queries the information of the auction by ID. If ID is ommitted, returns // current reward auction. diff --git a/x/auction/query.pb.go b/x/auction/query.pb.go index af169505bf..fbc9281288 100644 --- a/x/auction/query.pb.go +++ b/x/auction/query.pb.go @@ -284,7 +284,7 @@ func init() { func init() { proto.RegisterFile("umee/auction/v1/query.proto", fileDescriptor_e1df854d377e58e5) } var fileDescriptor_e1df854d377e58e5 = []byte{ - // 630 bytes of a gzipped FileDescriptorProto + // 631 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xcf, 0x4f, 0x13, 0x41, 0x14, 0xc7, 0xbb, 0x2d, 0x14, 0x1c, 0x03, 0x24, 0x63, 0x0f, 0xcb, 0x02, 0xdb, 0xba, 0x8a, 0xe0, 0x0f, 0x66, 0x2c, 0x26, 0x26, 0x26, 0x7a, 0xa0, 0x26, 0xe2, 0x11, 0x57, 0x4f, 0x1c, 0x24, 0xb3, @@ -316,15 +316,15 @@ var fileDesc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 0xc7, 0x05, 0x00, 0x00, + 0xfe, 0x7c, 0x2c, 0x9e, 0x87, 0x55, 0x9c, 0x7f, 0x9d, 0x66, 0xc4, 0x5b, 0x7a, 0xc1, 0xe1, 0x7b, + 0x0b, 0x4c, 0xe7, 0x96, 0xfb, 0xe2, 0x28, 0xad, 0x72, 0xfe, 0xab, 0xa1, 0xde, 0xa2, 0xe2, 0xa9, + 0xc2, 0x85, 0x93, 0x78, 0xf0, 0x2b, 0x16, 0xbe, 0x86, 0x6f, 0x2d, 0x30, 0x93, 0x5f, 0x9a, 0xc5, + 0x51, 0x0a, 0x09, 0x67, 0x65, 0x24, 0x59, 0x0f, 0xa8, 0xa6, 0x80, 0x1c, 0x68, 0x9f, 0x04, 0xd4, + 0x58, 0xdf, 0xfb, 0xed, 0x16, 0xf6, 0x0e, 0x5c, 0x6b, 0xff, 0xc0, 0xb5, 0x7e, 0x1d, 0xb8, 0xd6, + 0xee, 0xa1, 0x5b, 0xd8, 0x3f, 0x74, 0x0b, 0xdf, 0x0f, 0xdd, 0xc2, 0xe6, 0xe5, 0x88, 0xc9, 0xa7, + 0x9d, 0x00, 0x35, 0x79, 0x4b, 0x65, 0x58, 0x89, 0xa9, 0xdc, 0xe1, 0xc9, 0x33, 0x9d, 0xae, 0x7b, + 0x13, 0xbf, 0xc8, 0x72, 0x06, 0x65, 0xf5, 0x66, 0x6e, 0xfc, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x30, + 0x30, 0xf6, 0x38, 0xc7, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/auction/query.pb.gw.go b/x/auction/query.pb.gw.go index e62ef2cb14..c4dee67fe4 100644 --- a/x/auction/query.pb.gw.go +++ b/x/auction/query.pb.gw.go @@ -321,7 +321,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_RewardsParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"umee", "auction", "v1", "rewards", "params"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_RewardsParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"umee", "auction", "v1", "rewards_params"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_RewardsAuction_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"umee", "auction", "v1", "rewards", "id"}, "", runtime.AssumeColonVerbOpt(false)))