Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyding committed Jul 18, 2024
1 parent 5a60ce2 commit bbebe9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions baseapp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ func (app *BaseApp) PrepareProposal(req *abci.RequestPrepareProposal) (resp *abc
NextValidatorsHash: req.NextValidatorsHash,
AppHash: app.LastCommitID().Hash,
}

app.optimisticExec.Abort()
app.setState(execModePrepareProposal, header)

// CometBFT must never call PrepareProposal with a height of 0.
Expand Down

0 comments on commit bbebe9a

Please sign in to comment.