From 8ed60ee83defe646e4638787a9bd2c6dd98064d8 Mon Sep 17 00:00:00 2001
From: Philip Offtermatt
Date: Tue, 26 Mar 2024 10:53:36 +0100
Subject: [PATCH] Rename and add comission rate command to commands
---
x/ccv/provider/client/cli/tx.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/x/ccv/provider/client/cli/tx.go b/x/ccv/provider/client/cli/tx.go
index 87fea113d1..876aaa9b8b 100644
--- a/x/ccv/provider/client/cli/tx.go
+++ b/x/ccv/provider/client/cli/tx.go
@@ -36,6 +36,7 @@ func GetTxCmd() *cobra.Command {
cmd.AddCommand(NewSubmitConsumerDoubleVotingCmd())
cmd.AddCommand(NewOptInCmd())
cmd.AddCommand(NewOptOutCmd())
+ cmd.AddCommand(NewSetConsumerCommissionRateCmd())
return cmd
}
@@ -289,7 +290,7 @@ func NewOptOutCmd() *cobra.Command {
return cmd
}
-func NewSetConsumerCommissionRate() *cobra.Command {
+func NewSetConsumerCommissionRateCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "set-consumer-commission-rate [consumer-chain-id] [commission-rate]",
Short: "set a per-consumer chain commission",