Features
- (x/staking) #9214 Added
new_sharesattribute insideEventTypeDelegateevent.
Client Breaking Changes
- #9134 Renamed the CLI flag
--memoto--note. - #9139 Querying events:
- via
ServiceMsgTypeURLs (e.g.message.action='/cosmos.bank.v1beta1.Msg/Send') does not work anymore, - via legacy
msg.Type()(e.g.message.action='send') is being deprecated, newMsgs won't emit these events. - Please use concrete
MsgTypeURLs instead (e.g.message.action='/cosmos.bank.v1beta1.MsgSend').
- via
- #9291 Migration scripts prior to v0.38 have been removed from the CLI
migratecommand. The oldest supported migration is v0.39->v0.42.
API Breaking Changes
- (codec) #9226 Rename codec interfaces and methods, to follow a general Go interfaces:
codec.Marshaler→codec.Codec(this defines objects which serialize other objects)codec.BinaryMarshaler→codec.BinaryCodeccodec.JSONMarshaler→codec.JSONCodec- Removed
BinaryBaresuffix fromBinaryCodecmethods (MarshalBinaryBare,UnmarshalBinaryBare, ...) - Removed
Binaryinfix fromBinaryCodecmethods (MarshalBinaryLengthPrefixed,UnmarshalBinaryLengthPrefixed, ...)
- #9139
ServiceMsgTypeURLs (e.g./cosmos.bank.v1beta1.Msg/Send) have been removed, as they don't comply to the ProbobufAnyspec. Please useMsgtype TypeURLs (e.g./cosmos.bank.v1beta1.MsgSend). This has multiple consequences:- The
sdk.ServiceMsgstruct has been removed. sdk.Msgnow only containsValidateBasicandGetSignersmethods. The remaining methodsGetSignBytes,RouteandTypeare moved tolegacytx.LegacyMsg.- The
RegisterCustomTypeURLfunction and thecosmos.base.v1beta1.ServiceMsginterface have been removed from the interface registry.
- The
- (codec) #9251 Rename
clientCtx.JSONMarshalertoclientCtx.JSONCodecas per #9226. - (x/bank) #9271 SendEnabledCoin(s) renamed to IsSendEnabledCoin(s) to better reflect its functionality.
- #9235 CreateMembershipProof/CreateNonMembershipProof now returns an error
if input key is empty, or input data contains empty key.
Improvements
- #9205 Improve readability in
abcihandleQueryP2P
Bug Fixes
- (x/bank) #9229 Now zero coin balances cannot be added to balances & supply stores. If any denom becomes zero corresponding key gets deleted from store.