Skip to content

Commit

Permalink
refactor(staking): change historicalinfo to contain minimal set of da…
Browse files Browse the repository at this point in the history
…ta (#17655)

Co-authored-by: Aleksandr Bezobchuk <[email protected]>
  • Loading branch information
tac0turtle and alexanderbez authored Sep 19, 2023
1 parent 4ef0130 commit c05ff14
Show file tree
Hide file tree
Showing 15 changed files with 2,555 additions and 1,443 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,15 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (types) [#17738](https://github.com/cosmos/cosmos-sdk/pull/17738) `WithBlockTime()` was removed & `BlockTime()` were deprecated in favor of `WithHeaderInfo()` & `HeaderInfo()`. `BlockTime` now gets data from `HeaderInfo()` instead of `BlockHeader()`.
* (client) [#17746](https://github.com/cosmos/cosmos-sdk/pull/17746) `txEncodeAmino` & `txDecodeAmino` txs via grpc and rest were removed
* `RegisterLegacyAmino` was removed from `AppModuleBasic`
* (x/staking) [#17655](https://github.com/cosmos/cosmos-sdk/pull/17655) `QueryHistoricalInfo` was adjusted to return `HistoricalRecord` and marked `Hist` as deprecated.

### CLI Breaking Changes

### State Machine Breaking

* (x/distribution) [#17115](https://github.com/cosmos/cosmos-sdk/pull/17115) Migrate `PreviousProposer` to collections.
* (x/upgrade) [#16244](https://github.com/cosmos/cosmos-sdk/pull/16244) upgrade module no longer stores the app version but gets and sets the app version stored in the `ParamStore` of baseapp.
* (x/staking) [#17655](https://github.com/cosmos/cosmos-sdk/pull/17655) `HistoricalInfo` was replaced with `HistoricalRecord`, it removes the validator set and comet header and only keep what is needed for IBC.

## [v0.50.0-rc.0](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.0-rc.0) - 2023-08-18

Expand Down
582 changes: 340 additions & 242 deletions api/cosmos/staking/v1beta1/query.pulsar.go

Large diffs are not rendered by default.

Loading

0 comments on commit c05ff14

Please sign in to comment.