diff --git a/docs/gno-tooling/cli/gnokey.md b/docs/gno-tooling/cli/gnokey.md index 77c25563fdd..9ea51546864 100644 --- a/docs/gno-tooling/cli/gnokey.md +++ b/docs/gno-tooling/cli/gnokey.md @@ -134,8 +134,6 @@ gnokey query {QUERY_PATH} | Name | Type | Description | |----------|-----------|------------------------------------------| | `data` | UInt8 \[] | Queries data bytes. | -| `height` | Int64 | (not yet supported) Queries height. | -| `prove` | Boolean | (not yet supported) Proves query result. | ## Sign and Broadcast a Transaction diff --git a/tm2/pkg/crypto/keys/client/query.go b/tm2/pkg/crypto/keys/client/query.go index f4b65adebc0..3278d0ea0ea 100644 --- a/tm2/pkg/crypto/keys/client/query.go +++ b/tm2/pkg/crypto/keys/client/query.go @@ -13,10 +13,7 @@ import ( type QueryCfg struct { RootCfg *BaseCfg - Data string - Height int64 - Prove bool - + Data string Path string } @@ -45,20 +42,6 @@ func (c *QueryCfg) RegisterFlags(fs *flag.FlagSet) { "", "query data bytes", ) - - fs.Int64Var( - &c.Height, - "height", - 0, - "query height (not yet supported)", - ) - - fs.BoolVar( - &c.Prove, - "prove", - false, - "prove query result (not yet supported)", - ) } func execQuery(cfg *QueryCfg, args []string, io commands.IO) error {