mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 20:21:56 +00:00
Update protocol buffers
This commit is contained in:
@@ -61,7 +61,7 @@ func (app *ChainAwareApplication) Query(query []byte) types.Result {
|
||||
return types.NewResultOK([]byte(Fmt("%d,%d", app.beginCount, app.endCount)), "")
|
||||
}
|
||||
|
||||
func (app *ChainAwareApplication) Proof(key []byte) types.Result {
|
||||
func (app *ChainAwareApplication) Proof(key []byte, blockHeight int64) types.Result {
|
||||
return types.NewResultOK(nil, Fmt("Proof is not supported"))
|
||||
}
|
||||
|
||||
|
@@ -84,6 +84,6 @@ func (app *CounterApplication) Query(query []byte) types.Result {
|
||||
return types.ErrUnknownRequest.SetLog(Fmt("Invalid nonce. Expected hash or tx, got %v", queryStr))
|
||||
}
|
||||
|
||||
func (app *CounterApplication) Proof(key []byte) types.Result {
|
||||
func (app *CounterApplication) Proof(key []byte, blockHeight int64) types.Result {
|
||||
return types.NewResultOK(nil, Fmt("Proof is not supported"))
|
||||
}
|
||||
|
@@ -53,7 +53,7 @@ func (app *DummyApplication) Query(query []byte) types.Result {
|
||||
return types.NewResultOK(wire.JSONBytes(queryResult), "")
|
||||
}
|
||||
|
||||
func (app *DummyApplication) Proof(key []byte) types.Result {
|
||||
func (app *DummyApplication) Proof(key []byte, blockHeight int64) types.Result {
|
||||
return types.NewResultOK(nil, Fmt("TODO: support proof!"))
|
||||
}
|
||||
|
||||
|
@@ -93,7 +93,7 @@ func (app *PersistentDummyApplication) Query(query []byte) types.Result {
|
||||
return app.app.Query(query)
|
||||
}
|
||||
|
||||
func (app *PersistentDummyApplication) Proof(key []byte) types.Result {
|
||||
func (app *PersistentDummyApplication) Proof(key []byte, blockHeight int64) types.Result {
|
||||
return types.NewResultOK(nil, Fmt("TODO: support proof!"))
|
||||
}
|
||||
|
||||
|
@@ -35,6 +35,6 @@ func (app *NilApplication) Query(query []byte) types.Result {
|
||||
return types.NewResultOK(nil, "")
|
||||
}
|
||||
|
||||
func (app *NilApplication) Proof(key []byte) types.Result {
|
||||
func (app *NilApplication) Proof(key []byte, blockHeight int64) types.Result {
|
||||
return types.NewResultOK(nil, "")
|
||||
}
|
||||
|
Reference in New Issue
Block a user