v0.47.0-rc2
版本发布时间: 2023-01-31 22:45:10
cosmos/cosmos-sdk最新发布版本:v0.50.10(2024-09-20 19:02:06)
Cosmos SDK v0.47.0-rc2 Release Notes
Cosmos SDK v0.47.0-rc2
contains all the features and changes that are planned for the final v0.47.0 release.
This release candidate is intended to give application developers and validator operators a chance to test the release candidate before the final release.
The main changes in this release are:
-
Upgrade to Tendermint v0.37.0.
- With the notable introduction of ABCI 1.0.
- Changes of events keys and values from
[]byte
tostring
.
-
Support of ABCI 1.0 in the SDK.
- Allows chains to set their own mempool implementation.
- Support of the new
PrepareProposal
andProcessProposal
ABCI methods.
-
Deprecation of the
x/params
module.- Modules params are now handled directly by the modules themselves, with the message
MsgUpdateParams
. - All core modules have migrated away from
x/params
. It is recommended to migrate your custom modules as well.
- Modules params are now handled directly by the modules themselves, with the message
-
Migration from
gogo/protobuf
tocosmos/gogoproto
.- The SDK was using the now unmaintained
gogo/protobuf
library. This has been replaced bycosmos/gogoproto
which is a fork ofgogo/protobuf
with some improvements and fixes, that is maintained by the Cosmos SDK team. - This change is not transparent for applications developers. All proto files should be regenerated with the new library.
- Please use the
ghcr.io/cosmos/proto-builder
image (version >=0.11.2
) for generating protobuf files.
- The SDK was using the now unmaintained
-
Dependency Injection / App Wiring
- App Wiring is ready for community feedback and testing. It allows to build a chain with less boilerplate by removing the need to manually wire a chain.
- Community feedback will be implemented in the following releases which can lead to API breakage (
runtime
anddepinject
arepre-1.0
). - Manually wiring an application is still possible and will always remain supported.
-
Removal of the proposer-based rewards from
x/distribution
.- This removes unfairness towards smaller validators.
-
Re-addition of
title
andsummary
fields on group and gov proposals.- In
v0.46
withx/gov
v1, these fields were not present (while present inv1beta1
). After community feedback, they have been added inx/gov
v1.
- In
-
Refactoring of tests in the SDK and addition of the
simtestutil
package, for facilitating testing without depending on simapp.- Any dependencies on
simapp
in an application must be removed going forward.
- Any dependencies on
Refer to the UPGRADING.md for upgrading your application. Please see the CHANGELOG for an exhaustive list of changes.
Full Commit History (previous version): https://github.com/cosmos/cosmos-sdk/compare/release/v0.46.x...release/v0.47.x
Full Commit History (rc1..rc2
): https://github.com/cosmos/cosmos-sdk/compare/v0.47.0-rc1...v0.47.0-rc2