mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-05 23:57:04 +00:00
ABCI message updates (code/log/info)
* Add info to Response[CheckTx/DeliverTx/Query] * Remove code and log from Response[SetOption/Commit]
This commit is contained in:
@@ -63,7 +63,7 @@ func (app *DummyApplication) Commit() types.ResponseCommit {
|
||||
}
|
||||
}
|
||||
|
||||
return types.ResponseCommit{Code: code.CodeTypeOK, Data: hash}
|
||||
return types.ResponseCommit{Data: hash}
|
||||
}
|
||||
|
||||
func (app *DummyApplication) Query(reqQuery types.RequestQuery) (resQuery types.ResponseQuery) {
|
||||
|
||||
@@ -97,7 +97,7 @@ func (app *PersistentDummyApplication) Commit() types.ResponseCommit {
|
||||
}
|
||||
|
||||
app.logger.Info("Commit block", "height", height, "root", appHash)
|
||||
return types.ResponseCommit{Code: code.CodeTypeOK, Data: appHash}
|
||||
return types.ResponseCommit{Data: appHash}
|
||||
}
|
||||
|
||||
func (app *PersistentDummyApplication) Query(reqQuery types.RequestQuery) types.ResponseQuery {
|
||||
|
||||
Reference in New Issue
Block a user