diff --git a/app/wasm.go b/app/wasm.go index 3c361c7ac..8bfbe2c42 100644 --- a/app/wasm.go +++ b/app/wasm.go @@ -71,9 +71,18 @@ func CustomQuerier(qp *QueryPlugin) func(ctx sdk.Context, request json.RawMessag return nil, errorsmod.Wrap(err, "failed to get all prices") } + _ = priceResponse + + // res := AllPriceResponse{ + // Price: priceResponse.Price, + // Pagination: priceResponse.Pagination, + // } + res := AllPriceResponse{ - Price: priceResponse.Price, - Pagination: priceResponse.Pagination, + Price: []oracletypes.Price{}, + Pagination: &query.PageResponse{ + NextKey: nil, + }, } // Serializing the response to a JSON byte array