abci: PrepareProposal (#6544)

This commit is contained in:
Marko
2021-07-27 07:30:34 +00:00
committed by GitHub
parent c3ae6f5b58
commit 7d30987cff
27 changed files with 1091 additions and 224 deletions
+5
View File
@@ -270,3 +270,8 @@ func (app *CounterApplication) Commit() abci.ResponseCommit {
binary.BigEndian.PutUint64(hash, uint64(app.txCount))
return abci.ResponseCommit{Data: hash}
}
func (app *CounterApplication) PrepareProposal(
req abci.RequestPrepareProposal) abci.ResponsePrepareProposal {
return abci.ResponsePrepareProposal{BlockData: req.BlockData} //nolint:gosimple
}
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v0.0.0-dev. DO NOT EDIT.
// Code generated by mockery 2.7.5. DO NOT EDIT.
package mocks
+1 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v0.0.0-dev. DO NOT EDIT.
// Code generated by mockery 2.7.5. DO NOT EDIT.
package mocks