chore: remove requirement on user ips (#15316)
This commit is contained in:
parent
b2188e9326
commit
fafe04bef5
@ -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]
|
||||
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user