diff --git a/CHANGELOG.md b/CHANGELOG.md index 5401c4ab1..ae9bb9576 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -102,6 +102,10 @@ Ref: https://keepachangelog.com/en/1.0.0/ * Rosetta has been removed from the `provenanced` executable [#1981](https://github.com/provenance-io/provenance/pull/1981). It is now a stand-alone service. See: for more info. +### Bug Fixes + +* The `add-net-asset-values` command now correctly uses the from `flag`'s `AccAddress` [#1995](https://github.com/provenance-io/provenance/issues/1995). + ### Deprecated * In the config commands, the "tendermint" and "tm" options are deprecated, replaced with "cometbft", "comet", and "cmt" [#1968](https://github.com/provenance-io/provenance/pull/1968). diff --git a/x/marker/client/cli/tx.go b/x/marker/client/cli/tx.go index f1ac48377..7bb9ba9c9 100644 --- a/x/marker/client/cli/tx.go +++ b/x/marker/client/cli/tx.go @@ -1071,7 +1071,7 @@ func GetCmdAddNetAssetValues() *cobra.Command { return err } - return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), types.NewMsgAddNetAssetValuesRequest(denom, clientCtx.From, netAssetValues)) + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), types.NewMsgAddNetAssetValuesRequest(denom, clientCtx.GetFromAddress().String(), netAssetValues)) }, } flags.AddTxFlagsToCmd(cmd)