fix(client/v2): fix marshalling of queries with any (#18309)

This commit is contained in:
Julien Robert
2023-11-03 10:19:16 +00:00
committed by GitHub
parent 9e91c7b419
commit 2caf00deb0
9 changed files with 87 additions and 28 deletions
+1
View File
@@ -86,6 +86,7 @@ func getCodecInterfaceImpls() *cobra.Command {
Short: "List the registered type URLs for the provided interface",
Long: "List the registered type URLs that can be used for the provided interface name using the application codec",
Example: fmt.Sprintf("%s debug codec list-implementations cosmos.crypto.PubKey", version.AppName),
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
clientCtx := client.GetClientContextFromCmd(cmd)
impls := clientCtx.Codec.InterfaceRegistry().ListImplementations(args[0])