Skip to content

Commit

Permalink
Fix CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
ValarDragon committed Nov 9, 2023
1 parent c07d51d commit 7c5bc56
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions x/txfees/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ func GetQueryCmd() *cobra.Command {
GetCmdFeeTokens(),
GetCmdDenomPoolID(),
GetCmdBaseDenom(),
GetCmdQueryBaseFee(),
)

osmocli.AddQueryCmd(cmd, types.NewQueryClient, GetCmdQueryBaseFee)

return cmd
}

Expand Down Expand Up @@ -54,13 +55,12 @@ func GetCmdBaseDenom() *cobra.Command {
)
}

func GetCmdQueryBaseFee() *cobra.Command {
return osmocli.SimpleQueryCmd[*types.QueryEipBaseFeeRequest](
"base-fee",
"Query the eip base fee",
`{{.Short}}{{.ExampleHeader}}
{{.CommandPrefix}} base-fee
`,
types.ModuleName, types.NewQueryClient,
)
func GetCmdQueryBaseFee() (*osmocli.QueryDescriptor, *types.QueryEipBaseFeeRequest) {
return &osmocli.QueryDescriptor{
Use: "base-fee",
Short: "Query the eip base fee.",
Long: `{{.Short}}{{.ExampleHeader}}
{{.CommandPrefix}} base-fee`,
QueryFnName: "GetEipBaseFee",
}, &types.QueryEipBaseFeeRequest{}
}

0 comments on commit 7c5bc56

Please sign in to comment.