mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-23 01:41:31 +00:00
use request struct for Info
This commit is contained in:
@ -7,7 +7,7 @@ func NewBaseApplication() *BaseApplication {
|
||||
return &BaseApplication{}
|
||||
}
|
||||
|
||||
func (app *BaseApplication) Info() (resInfo ResponseInfo) {
|
||||
func (app *BaseApplication) Info(req RequestInfo) (resInfo ResponseInfo) {
|
||||
return
|
||||
}
|
||||
|
||||
@ -27,14 +27,14 @@ func (app *BaseApplication) Commit() Result {
|
||||
return NewResultOK([]byte("nil"), "")
|
||||
}
|
||||
|
||||
func (app *BaseApplication) Query(reqQuery RequestQuery) (resQuery ResponseQuery) {
|
||||
func (app *BaseApplication) Query(req RequestQuery) (resQuery ResponseQuery) {
|
||||
return
|
||||
}
|
||||
|
||||
func (app *BaseApplication) InitChain(reqInitChain RequestInitChain) {
|
||||
func (app *BaseApplication) InitChain(req RequestInitChain) {
|
||||
}
|
||||
|
||||
func (app *BaseApplication) BeginBlock(reqBeginBlock RequestBeginBlock) {
|
||||
func (app *BaseApplication) BeginBlock(req RequestBeginBlock) {
|
||||
}
|
||||
|
||||
func (app *BaseApplication) EndBlock(height uint64) (resEndBlock ResponseEndBlock) {
|
||||
|
Reference in New Issue
Block a user