Skip to content

Commit

Permalink
feat: allow endblocker to update app version (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmwaters committed May 19, 2023
1 parent 390a17f commit 57a798a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions baseapp/baseapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,8 @@ func (app *BaseApp) GetConsensusParams(ctx sdk.Context) *abci.ConsensusParams {
cp.Validator = &vp
}

cp.Version = &tmproto.VersionParams{AppVersion: app.appVersion}

return cp
}

Expand Down

0 comments on commit 57a798a

Please sign in to comment.