Skip to content
Cosmopediaby Unity Nodes
ReleasesSDKv0.43.0-beta1GitHub ↗

v0.43.0-beta1

cosmos/cosmos-sdkv0.43.0-beta111-05-2021prerelease

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 `Msg`s 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.Marshaler` → `codec.Codec` (this defines objects which serialize other objects)

• `codec.BinaryMarshaler` → `codec.BinaryCodec`

• `codec.JSONMarshaler` → `codec.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.

← Back to Releases