diff --git a/x/wasm/client/rest/query.go b/x/wasm/client/rest/query.go index cedae1ec76..1197a73f07 100644 --- a/x/wasm/client/rest/query.go +++ b/x/wasm/client/rest/query.go @@ -180,7 +180,7 @@ func queryContractStateRawHandlerFn(cliCtx context.CLIContext) http.HandlerFunc return } cliCtx = cliCtx.WithHeight(height) - rest.PostProcessResponse(w, cliCtx, json.RawMessage(res)) + rest.PostProcessResponse(w, cliCtx, res) } }