abci: PrepareProposal (#6544)

This commit is contained in:
Marko
2021-07-27 07:30:34 +00:00
committed by Sergio Mena
parent 8a684c1bb5
commit ff498ff333
17 changed files with 999 additions and 214 deletions

View File

@@ -267,6 +267,11 @@ func (app *Application) ApplySnapshotChunk(req abci.RequestApplySnapshotChunk) a
return abci.ResponseApplySnapshotChunk{Result: abci.ResponseApplySnapshotChunk_ACCEPT}
}
func (app *Application) PrepareProposal(
req abci.RequestPrepareProposal) abci.ResponsePrepareProposal {
return abci.ResponsePrepareProposal{BlockData: req.BlockData} //nolint:gosimple
}
func (app *Application) Rollback() error {
return app.state.Rollback()
}