Skip to content

Commit

Permalink
Cleanup gamm index command
Browse files Browse the repository at this point in the history
  • Loading branch information
ValarDragon committed Dec 7, 2022
1 parent 78efa28 commit 448fb0c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions x/gamm/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@ import (
)

func NewTxCmd() *cobra.Command {
txCmd := &cobra.Command{
Use: types.ModuleName,
Short: "Generalized automated market maker transaction subcommands",
DisableFlagParsing: true,
SuggestionsMinimumDistance: 2,
RunE: client.ValidateCmd,
}
txCmd := osmocli.TxIndexCmd(types.ModuleName)
osmocli.AddTxCmd(txCmd, NewJoinPoolCmd)
osmocli.AddTxCmd(txCmd, NewExitPoolCmd)
osmocli.AddTxCmd(txCmd, NewSwapExactAmountInCmd)
Expand All @@ -40,7 +34,6 @@ func NewTxCmd() *cobra.Command {
NewCreatePoolCmd().BuildCommandCustomFn(),
NewStableSwapAdjustScalingFactorsCmd(),
)

return txCmd
}

Expand Down

0 comments on commit 448fb0c

Please sign in to comment.