forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: 0.45.1 Release Notes (cosmos#11109)
* 0.45.1 Release Notes * Update RELEASE_NOTES.md Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com> Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
- Loading branch information
1 parent
f69c82f
commit 2646b47
Showing
2 changed files
with
11 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,14 @@ | ||
# Cosmos SDK v0.45.0 Release Notes | ||
|
||
Cosmos SDK v0.45.0 is a logical continuation of the v0.44.\* series, but brings a couple of state- and API-breaking changes requested by the community. | ||
This release introduces bug fixes and improvements on the Cosmos SDK v0.45 series: | ||
|
||
### State-Breaking Changes | ||
Highlights | ||
+ Added the missing `iavl-cache-size` config parameter parsing to set a desired IAVL cache size. The default value is way to small for big chains, and causes OOM failures. | ||
+ Added a check in `x/upgrade` module's `BeginBlock` preventing accidental binary downgrades | ||
+ Fix: the `/cosmos/tx/v1beta1/txs/{hash}` endpoint returns correct return code (404) for a non existing tx. | ||
|
||
There are few important changes in **gas consumption**, which improve the gas economics: | ||
See the [Cosmos SDK v0.45.1 Changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.45.1/CHANGELOG.md) for the exhaustive list of all changes and check other fixes in 0.45.x release series. | ||
|
||
- We now charge gas in two new places: on `.Seek()` even if there are no entries, and for the key length (on top of the value length). | ||
- When block gas limit is exceeded, we consume the maximum gas possible (to charge for the performed computation). We also fixed the bug when the last transaction in a block exceeds the block gas limit, it returns an error result, but the tx is actually committed successfully. | ||
**Full Diff**: https://github.com/cosmos/cosmos-sdk/compare/v0.45.0...v0.45.1 | ||
|
||
Finally, a small improvement in gov, we increased the maximum proposal description size from 5k characters to 10k characters. | ||
|
||
### API-Breaking Changes | ||
|
||
- The `BankKeeper` interface has a new `HasSupply` method to ensure that input denom actually exists on chain. | ||
- The `CommitMultiStore` interface contains a new `SetIAVLCacheSize` method for a configurable IAVL cache size. | ||
- `AuthKeeper` interface in `x/auth` now includes a function `HasAccount`. | ||
- Moved `TestMnemonic` from `testutil` package to `testdata`. | ||
|
||
|
||
Finally, when using the `SetOrder*` functions in simapp, e.g. `SetOrderBeginBlocker`, we now require that all modules be present in the function arguments, or else the node panics at startup. We also added a new `SetOrderMigration` function to set the order of running module migrations. | ||
|
||
### Improvements | ||
|
||
- Speedup improvements (e.g. speedup iterator creation after delete heavy workloads, lower allocations for `Coins.String()`, reduce RAM/CPU usage inside store/cachekv's `Store.Write`) are included in this release. | ||
- Upgrade Rosetta to v0.7.0 . | ||
- Support in-place migration ordering. | ||
- Copied and updated `server.GenerateCoinKey` and `server.GenerateServerCoinKey` functions to the `testutil` package. These functions in `server` package are marked deprecated and will be removed in the next release. In the `testutil.GenerateServerCoinKey` version we added support for custom mnemonics in in-process testing network. | ||
|
||
See our [CHANGELOG](./CHANGELOG.md) for the exhaustive list of all changes, or a full [commit diff](https://github.com/cosmos/cosmos-sdk/compare/v0.44.5...v0.45.0). |