From fd0323541dd291ef8ce2f68cbe82c15f4a39efa8 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 23 Feb 2023 18:32:30 +0800 Subject: [PATCH] fix: stargate querier does not reset the state --- x/wasm/keeper/query_plugins.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/wasm/keeper/query_plugins.go b/x/wasm/keeper/query_plugins.go index 91abcf5d..e6be4dde 100644 --- a/x/wasm/keeper/query_plugins.go +++ b/x/wasm/keeper/query_plugins.go @@ -600,6 +600,7 @@ func ConvertProtoToJSONMarshal(cdc codec.Codec, protoResponse codec.ProtoMarshal return nil, sdkerrors.Wrap(err, "to json") } + protoResponse.Reset() return bz, nil }