From c03acb4286023a3616ab6df70ac3c85c3d714538 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Fri, 10 Nov 2023 10:43:39 +0100 Subject: [PATCH] updates --- x/gov/client/utils/query.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/gov/client/utils/query.go b/x/gov/client/utils/query.go index 6ee7ca4a654..a567f3b03aa 100644 --- a/x/gov/client/utils/query.go +++ b/x/gov/client/utils/query.go @@ -161,6 +161,7 @@ func QueryVoteByTxQuery(clientCtx client.Context, params v1.QueryVoteParams) ([] } // QueryProposerByTxQuery will query for a proposer of a governance proposal by ID. +// Deprecated: Should not be used, as not always accurate. It will be removed in v0.51. func QueryProposerByTxQuery(clientCtx client.Context, proposalID uint64) (Proposer, error) { q := fmt.Sprintf("%s.%s='%d'", types.EventTypeSubmitProposal, types.AttributeKeyProposalID, proposalID) searchResult, err := authtx.QueryTxsByEvents(clientCtx, defaultPage, defaultLimit, q, "")