refactor: remove unused dependencies and simplify module imports

This commit is contained in:
Prad Nukala
2024-11-25 15:47:21 -05:00
parent 629ef72954
commit 0e14099f0c
4 changed files with 2 additions and 398 deletions
+1 -10
View File
@@ -1,8 +1,6 @@
package cli
import (
"strconv"
"github.com/spf13/cobra"
"github.com/cosmos/cosmos-sdk/client"
@@ -46,16 +44,9 @@ func MsgUpdateParams() *cobra.Command {
senderAddress := cliCtx.GetFromAddress()
someValue, err := strconv.ParseBool(args[0])
if err != nil {
return err
}
msg := &types.MsgUpdateParams{
Authority: senderAddress.String(),
Params: types.Params{
SomeValue: someValue,
},
Params: types.Params{},
}
if err := msg.Validate(); err != nil {