From b44113418ab2c1d6e59f71455791b27fbe1f2f56 Mon Sep 17 00:00:00 2001 From: Alessandro De Blasis Date: Thu, 16 Feb 2023 00:12:30 +0000 Subject: [PATCH 1/2] fix(CLI): fixed incorrect public key in staking command --- app/client/cli/actor.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/client/cli/actor.go b/app/client/cli/actor.go index 9063661dc..9239d1d7b 100644 --- a/app/client/cli/actor.go +++ b/app/client/cli/actor.go @@ -94,7 +94,6 @@ If no changes are desired for the parameter, just enter the current param value RunE: func(cmd *cobra.Command, args []string) error { // Unpack CLI arguments fromAddrHex := args[0] - fromAddr := crypto.AddressFromString(args[0]) amount := args[1] // Open the keybase at the specified directory @@ -129,7 +128,7 @@ If no changes are desired for the parameter, just enter the current param value serviceURI := args[3] msg := &typesUtil.MessageStake{ - PublicKey: fromAddr, + PublicKey: pk.PublicKey().Bytes(), Chains: chains, Amount: amount, ServiceUrl: serviceURI, From 64b80c06cba370cb278fe914f571a2b712a0f81f Mon Sep 17 00:00:00 2001 From: Alessandro De Blasis Date: Thu, 16 Feb 2023 00:18:26 +0000 Subject: [PATCH 2/2] docs(CLI): changelog --- app/client/doc/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/client/doc/CHANGELOG.md b/app/client/doc/CHANGELOG.md index 7c5512923..d6c208a33 100644 --- a/app/client/doc/CHANGELOG.md +++ b/app/client/doc/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.0.14] - 2023-02-16 + +- Bugfix for `Stake` command. Address erroneously sent instead of the PublicKey. + ## [0.0.0.13] - 2023-02-14 - Fixed `docgen` to work from the root of the repository