github cosmos/cosmos-sdk v0.43.0-beta1

latest releases: v0.47.13-ics-lsm, x/upgrade/v0.1.2, x/nft/v0.1.1...
pre-release2 years ago

Features

  • (x/staking) #9214 Added new_shares attribute inside EventTypeDelegate event.

Client Breaking Changes

  • #9134 Renamed the CLI flag --memo to --note.
  • #9139 Querying events:
    • via ServiceMsg TypeURLs (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, new Msgs won't emit these events.
    • Please use concrete Msg TypeURLs instead (e.g. message.action='/cosmos.bank.v1beta1.MsgSend').
  • #9291 Migration scripts prior to v0.38 have been removed from the CLI migrate command. 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.Marshalercodec.Codec (this defines objects which serialize other objects)
    • codec.BinaryMarshalercodec.BinaryCodec
    • codec.JSONMarshalercodec.JSONCodec
    • Removed BinaryBare suffix from BinaryCodec methods (MarshalBinaryBare, UnmarshalBinaryBare, ...)
    • Removed Binary infix from BinaryCodec methods (MarshalBinaryLengthPrefixed, UnmarshalBinaryLengthPrefixed, ...)
  • #9139 ServiceMsg TypeURLs (e.g. /cosmos.bank.v1beta1.Msg/Send) have been removed, as they don't comply to the Probobuf Any spec. Please use Msg type TypeURLs (e.g. /cosmos.bank.v1beta1.MsgSend). This has multiple consequences:
    • The sdk.ServiceMsg struct has been removed.
    • sdk.Msg now only contains ValidateBasic and GetSigners methods. The remaining methods GetSignBytes, Route and Type are moved to legacytx.LegacyMsg.
    • The RegisterCustomTypeURL function and the cosmos.base.v1beta1.ServiceMsg interface have been removed from the interface registry.
  • (codec) #9251 Rename clientCtx.JSONMarshaler to clientCtx.JSONCodec as 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 abci handleQueryP2P

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.

Don't miss a new cosmos-sdk release

NewReleases is sending notifications on new releases.