Skip to content

Commit

Permalink
Update app/app.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
  • Loading branch information
aleem1314 and ryanchristo authored Aug 2, 2022
1 parent 1482427 commit c1b86b4
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -547,19 +547,6 @@ func NewRegenApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest
}
app.SetAnteHandler(anteHandler)

// In v0.46, the SDK introduces _postHandlers_. PostHandlers are like
// antehandlers, but are run _after_ the `runMsgs` execution. They are also
// defined as a chain, and have the same signature as antehandlers.
//
// In baseapp, postHandlers are run in the same store branch as `runMsgs`,
// meaning that both `runMsgs` and `postHandler` state will be committed if
// both are successful, and both will be reverted if any of the two fails.
//
// The SDK exposes a default empty postHandlers chain.
//
// Please note that changing any of the anteHandler or postHandler chain is
// likely to be a state-machine breaking change, which needs a coordinated
// upgrade.

if loadLatest {
if err := app.LoadLatestVersion(); err != nil {
Expand Down

0 comments on commit c1b86b4

Please sign in to comment.