Features
- (x/staking) #9214 Added
new_shares
attribute insideEventTypeDelegate
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, newMsg
s won't emit these events. - Please use concrete
Msg
TypeURLs instead (e.g.message.action='/cosmos.bank.v1beta1.MsgSend'
).
- via
- #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 fromBinaryCodec
methods (MarshalBinaryBare
,UnmarshalBinaryBare
, ...) - Removed
Binary
infix fromBinaryCodec
methods (MarshalBinaryLengthPrefixed
,UnmarshalBinaryLengthPrefixed
, ...)
- #9139
ServiceMsg
TypeURLs (e.g./cosmos.bank.v1beta1.Msg/Send
) have been removed, as they don't comply to the ProbobufAny
spec. Please useMsg
type TypeURLs (e.g./cosmos.bank.v1beta1.MsgSend
). This has multiple consequences:- The
sdk.ServiceMsg
struct has been removed. sdk.Msg
now only containsValidateBasic
andGetSigners
methods. The remaining methodsGetSignBytes
,Route
andType
are moved tolegacytx.LegacyMsg
.- The
RegisterCustomTypeURL
function and thecosmos.base.v1beta1.ServiceMsg
interface have been removed from the interface registry.
- The
- (codec) #9251 Rename
clientCtx.JSONMarshaler
toclientCtx.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.