Merge pull request #4024 from cosmos/release/v0.33.1

Hotfix release/v0.33.1 (master)
This commit is contained in:
Ethan Buchman 2019-04-03 11:01:42 -04:00 committed by GitHub
commit 0f3363e8cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,13 @@
# Changelog
## 0.33.1
### Bug Fixes
#### Gaia
* [\#3999](https://github.com/cosmos/cosmos-sdk/pull/3999) Fix distribution delegation for zero height export bug
## 0.33.0
BREAKING CHANGES

View File

@ -118,6 +118,7 @@ func (app *GaiaApp) prepForZeroHeightGenesis(ctx sdk.Context, jailWhiteList []st
// reinitialize all delegations
for _, del := range dels {
app.distrKeeper.Hooks().BeforeDelegationCreated(ctx, del.DelegatorAddress, del.ValidatorAddress)
app.distrKeeper.Hooks().AfterDelegationModified(ctx, del.DelegatorAddress, del.ValidatorAddress)
}
// reset context height