refactor: optimize oracle genesis proto

This commit is contained in:
Prad Nukala
2024-09-27 21:08:53 -04:00
parent 92ff87cc2c
commit d06dfb5a93
25 changed files with 421 additions and 441 deletions
+7 -9
View File
@@ -1,8 +1,6 @@
package cli
import (
"strconv"
"github.com/spf13/cobra"
"github.com/cosmos/cosmos-sdk/client"
@@ -45,16 +43,16 @@ func MsgUpdateParams() *cobra.Command {
}
senderAddress := cliCtx.GetFromAddress()
someValue, err := strconv.ParseBool(args[0])
if err != nil {
return err
}
//
// 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{
// SomeValue: someValue,
},
}