diff --git a/CHANGELOG.md b/CHANGELOG.md index b44e9c3df5..7559c61ffd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -161,6 +161,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (x/staking) [#14567](https://github.com/cosmos/cosmos-sdk/pull/14567) The `delegator_address` field of `MsgCreateValidator` has been deprecated. The validator address bytes and delegator address bytes refer to the same account while creating validator (defer only in bech32 notation). +* (x/genutil) [#15316](https://github.com/cosmos/cosmos-sdk/pull/15316) Remove requirement on node & IP being included in a gentx. ## [v0.47.0-rc3] diff --git a/x/genutil/collect.go b/x/genutil/collect.go index de01c07155..9d99559375 100644 --- a/x/genutil/collect.go +++ b/x/genutil/collect.go @@ -124,9 +124,6 @@ func CollectTxs(cdc codec.JSONCodec, txJSONDecoder sdk.TxDecoder, moniker, genTx return appGenTxs, persistentPeers, fmt.Errorf("expected TxWithMemo, got %T", genTx) } nodeAddrIP := memoTx.GetMemo() - if len(nodeAddrIP) == 0 { - return appGenTxs, persistentPeers, fmt.Errorf("failed to find node's address and IP in %s", fo.Name()) - } // genesis transactions must be single-message msgs := genTx.GetMsgs()