|
1 | 1 | # Cosmos SDK v0.45.0 Release Notes
|
2 | 2 |
|
3 |
| -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. |
| 3 | +This release introduces bug fixes and improvements on the Cosmos SDK v0.45 series: |
4 | 4 |
|
5 |
| -### State-Breaking Changes |
| 5 | +Highlights |
| 6 | ++ 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. |
| 7 | ++ Added a check in `x/upgrade` module's `BeginBlock` preventing accidental binary downgrades |
| 8 | ++ Fix: the `/cosmos/tx/v1beta1/txs/{hash}` endpoint returns correct return code (404) for a non existing tx. |
6 | 9 |
|
7 |
| -There are few important changes in **gas consumption**, which improve the gas economics: |
| 10 | +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. |
8 | 11 |
|
9 |
| -- 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). |
10 |
| -- 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. |
| 12 | +**Full Diff**: https://github.com/cosmos/cosmos-sdk/compare/v0.45.0...v0.45.1 |
11 | 13 |
|
12 |
| -Finally, a small improvement in gov, we increased the maximum proposal description size from 5k characters to 10k characters. |
13 | 14 |
|
14 |
| -### API-Breaking Changes |
15 |
| - |
16 |
| -- The `BankKeeper` interface has a new `HasSupply` method to ensure that input denom actually exists on chain. |
17 |
| -- The `CommitMultiStore` interface contains a new `SetIAVLCacheSize` method for a configurable IAVL cache size. |
18 |
| -- `AuthKeeper` interface in `x/auth` now includes a function `HasAccount`. |
19 |
| -- Moved `TestMnemonic` from `testutil` package to `testdata`. |
20 |
| - |
21 |
| - |
22 |
| -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. |
23 |
| - |
24 |
| -### Improvements |
25 |
| - |
26 |
| -- 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. |
27 |
| -- Upgrade Rosetta to v0.7.0 . |
28 |
| -- Support in-place migration ordering. |
29 |
| -- 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. |
30 |
| - |
31 |
| -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). |
0 commit comments