From 7d0e92d775e1f09286c7fc098f46a4a223bb4a1e Mon Sep 17 00:00:00 2001 From: emidev98 <emilian@terra.money> Date: Fri, 5 May 2023 08:25:49 +0200 Subject: [PATCH 1/2] fix: wording --- x/alliance/client/cli/gov.go | 4 ++-- x/alliance/client/cli/tx.go | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/x/alliance/client/cli/gov.go b/x/alliance/client/cli/gov.go index 57b00b73..80481428 100644 --- a/x/alliance/client/cli/gov.go +++ b/x/alliance/client/cli/gov.go @@ -15,7 +15,7 @@ import ( func CreateAlliance() *cobra.Command { cmd := &cobra.Command{ - Use: "create-alliance denom rewards-weight rewards-weight-min rewards-weight-max take-rate reward-change-rate reward-change-interval", + Use: "create-alliance denom reward-weight reward-weight-min reward-weight-max take-rate reward-change-rate reward-change-interval", Args: cobra.ExactArgs(7), Short: "Create an alliance with the specified parameters", RunE: func(cmd *cobra.Command, args []string) error { @@ -118,7 +118,7 @@ func CreateAlliance() *cobra.Command { func UpdateAlliance() *cobra.Command { cmd := &cobra.Command{ - Use: "update-alliance denom rewards-weight take-rate reward-change-rate reward-change-interval", + Use: "update-alliance denom reward-weight take-rate reward-change-rate reward-change-interval", Args: cobra.ExactArgs(5), Short: "Update an alliance with the specified parameters", RunE: func(cmd *cobra.Command, args []string) error { diff --git a/x/alliance/client/cli/tx.go b/x/alliance/client/cli/tx.go index e58ef0d9..2ad6ceb5 100644 --- a/x/alliance/client/cli/tx.go +++ b/x/alliance/client/cli/tx.go @@ -32,9 +32,9 @@ func NewDelegateCmd() *cobra.Command { cmd := &cobra.Command{ Use: "delegate [validator-addr] [amount]", Args: cobra.ExactArgs(2), - Short: "Delegate alliance enabled tokens to a validator", + Short: "Delegate alliance-enabled tokens to a validator", Long: strings.TrimSpace( - fmt.Sprintf(`Delegate an amount of liquid alliance enabled coins to a validator from your wallet. + fmt.Sprintf(`Delegate an amount of liquid alliance-enabled coins to a validator from your wallet. Example: $ %s tx alliance delegate %s1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm 1000stake --from mykey @@ -79,9 +79,9 @@ func NewRedelegateCmd() *cobra.Command { cmd := &cobra.Command{ Use: "redelegate [src-validator-addr] [dst-validator-addr] [amount]", Args: cobra.ExactArgs(3), - Short: "Re-delegate alliance enabled tokens from a validator to another", + Short: "Re-delegate alliance-enabled tokens from a validator to another", Long: strings.TrimSpace( - fmt.Sprintf(`Re-delegate an amount of liquid alliance enabled coins from a validator to another from your wallet. + fmt.Sprintf(`Re-delegate an amount of liquid alliance-enabled coins from a validator to another from your wallet. Example: $ %s tx alliance redelegate %s1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm %ss1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm 1000stake --from mykey @@ -133,9 +133,9 @@ func NewUndelegateCmd() *cobra.Command { cmd := &cobra.Command{ Use: "undelegate validator-addr amount", Args: cobra.ExactArgs(2), - Short: "Undelegate alliance enabled tokens to a validator", + Short: "Undelegate alliance-enabled tokens to a validator", Long: strings.TrimSpace( - fmt.Sprintf(`Undelegate an amount of liquid alliance enabled coins from a validator to your wallet (after the unbonding period has passed). + fmt.Sprintf(`Undelegate an amount of liquid alliance-enabled coins from a validator to your wallet (after the unbonding period has passed). Example: $ %s tx alliance undelegate %s1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm 1000stake --from mykey From 7b3b0fb089f01970452e85797fbcfcb4a063c208 Mon Sep 17 00:00:00 2001 From: emidev98 <emilian@terra.money> Date: Fri, 5 May 2023 08:37:05 +0200 Subject: [PATCH 2/2] chore: compatibility matrix --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a7fbb121..3cbf3b6b 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,12 @@ By design, x/alliance use the following CosmosSDK modules to implement interchai - [x/distribution](https://github.com/cosmos/cosmos-sdk/blob/main/x/distribution/README.md), - [x/gov](https://github.com/cosmos/cosmos-sdk/blob/main/x/gov/README.md). +Compatibility matrix: + +| Release | Branch | CosmosSDK | +|---------|----------------|-----------| +| v0.2.0 | release/v0.2.x | 0.47 | +| v0.1.0 | release/v0.1.x | 0.46 | # Development environment This project uses [Go v1.19](https://go.dev/dl/) and was bootstrapped with [Ignite CLI v0.25.1](https://docs.ignite.com/). However, for ease of upgrade, ignite has been removed in favor of manual workflows.