Merge pull request #61 from tendermint/interface-fixes

Interface fixes
This commit is contained in:
Ethan Buchman
2017-02-13 20:19:24 -05:00
committed by GitHub
15 changed files with 231 additions and 293 deletions

View File

@ -76,16 +76,16 @@ ABCI requests/responses are simple Protobuf messages. Check out the [schema fil
* `Path (string)`: Path of request, like an HTTP GET path. Can be used with or in liue of Data. * `Path (string)`: Path of request, like an HTTP GET path. Can be used with or in liue of Data.
* Apps MUST interpret '/store' as a query by key on the underlying store. The key SHOULD be specified in the Data field. * Apps MUST interpret '/store' as a query by key on the underlying store. The key SHOULD be specified in the Data field.
* Apps SHOULD allow queries over specific types like '/accounts/...' or '/votes/...' * Apps SHOULD allow queries over specific types like '/accounts/...' or '/votes/...'
* `Height (uint64)`: The block height for which you want the query (default=0 returns data for the latest committed block) * `LastHeight (uint64)`: The block height for which you want the query (default=0 returns data for the latest committed block). Note that the corresponding Merkle root hash will only be included in the header of the next block (ie. `LastHeight + 1`)
* `Prove (bool)`: Return Merkle proof with response if possible * `Prove (bool)`: Return Merkle proof with response if possible
* __Returns__: * __Returns__:
* `Code (uint32)`: Response code * `Code (uint32)`: Response code
* `Key ([]byte)`: The key of the matching data * `Key ([]byte)`: The key of the matching data
* `Value ([]byte)`: The value of the matching data * `Value ([]byte)`: The value of the matching data
* `Proof ([]byte)`: Proof for the data, if requested * `Proof ([]byte)`: Proof for the data, if requested
* `Height (uint64)`: The block height from which data was derived * `LastHeight (uint64)`: The block height from which data was derived. The Merkle root for the proof is included in block `LastHeight + 1`
* `Log (string)`: Debug or error message * `Log (string)`: Debug or error message
*Please note* The current implementation of go-merkle doesn't support querying proofs from past blocks, so for the present moment, any height other than 0 will return an error. Hopefully this will be improved soon(ish) *Please note* The current implementation of go-merkle doesn't support querying proofs from past blocks, so for the present moment, any height other than 0 will return an error (recall height=0 defaults to latest block). Hopefully this will be improved soon(ish)
#### Info #### Info
* __Returns__: * __Returns__:

View File

@ -111,9 +111,7 @@ func (app *localClient) CommitAsync() *ReqRes {
func (app *localClient) InitChainAsync(validators []*types.Validator) *ReqRes { func (app *localClient) InitChainAsync(validators []*types.Validator) *ReqRes {
app.mtx.Lock() app.mtx.Lock()
if bcApp, ok := app.Application.(types.BlockchainAware); ok { app.Application.InitChain(validators)
bcApp.InitChain(validators)
}
reqRes := app.callback( reqRes := app.callback(
types.ToRequestInitChain(validators), types.ToRequestInitChain(validators),
types.ToResponseInitChain(), types.ToResponseInitChain(),
@ -124,9 +122,7 @@ func (app *localClient) InitChainAsync(validators []*types.Validator) *ReqRes {
func (app *localClient) BeginBlockAsync(hash []byte, header *types.Header) *ReqRes { func (app *localClient) BeginBlockAsync(hash []byte, header *types.Header) *ReqRes {
app.mtx.Lock() app.mtx.Lock()
if bcApp, ok := app.Application.(types.BlockchainAware); ok { app.Application.BeginBlock(hash, header)
bcApp.BeginBlock(hash, header)
}
app.mtx.Unlock() app.mtx.Unlock()
return app.callback( return app.callback(
types.ToRequestBeginBlock(hash, header), types.ToRequestBeginBlock(hash, header),
@ -136,10 +132,7 @@ func (app *localClient) BeginBlockAsync(hash []byte, header *types.Header) *ReqR
func (app *localClient) EndBlockAsync(height uint64) *ReqRes { func (app *localClient) EndBlockAsync(height uint64) *ReqRes {
app.mtx.Lock() app.mtx.Lock()
var resEndBlock types.ResponseEndBlock resEndBlock := app.Application.EndBlock(height)
if bcApp, ok := app.Application.(types.BlockchainAware); ok {
resEndBlock = bcApp.EndBlock(height)
}
app.mtx.Unlock() app.mtx.Unlock()
return app.callback( return app.callback(
types.ToRequestEndBlock(height), types.ToRequestEndBlock(height),
@ -201,27 +194,21 @@ func (app *localClient) CommitSync() (res types.Result) {
func (app *localClient) InitChainSync(validators []*types.Validator) (err error) { func (app *localClient) InitChainSync(validators []*types.Validator) (err error) {
app.mtx.Lock() app.mtx.Lock()
if bcApp, ok := app.Application.(types.BlockchainAware); ok { app.Application.InitChain(validators)
bcApp.InitChain(validators)
}
app.mtx.Unlock() app.mtx.Unlock()
return nil return nil
} }
func (app *localClient) BeginBlockSync(hash []byte, header *types.Header) (err error) { func (app *localClient) BeginBlockSync(hash []byte, header *types.Header) (err error) {
app.mtx.Lock() app.mtx.Lock()
if bcApp, ok := app.Application.(types.BlockchainAware); ok { app.Application.BeginBlock(hash, header)
bcApp.BeginBlock(hash, header)
}
app.mtx.Unlock() app.mtx.Unlock()
return nil return nil
} }
func (app *localClient) EndBlockSync(height uint64) (resEndBlock types.ResponseEndBlock, err error) { func (app *localClient) EndBlockSync(height uint64) (resEndBlock types.ResponseEndBlock, err error) {
app.mtx.Lock() app.mtx.Lock()
if bcApp, ok := app.Application.(types.BlockchainAware); ok { resEndBlock = app.Application.EndBlock(height)
resEndBlock = bcApp.EndBlock(height)
}
app.mtx.Unlock() app.mtx.Unlock()
return resEndBlock, nil return resEndBlock, nil
} }

View File

@ -17,13 +17,13 @@ import (
// Structure for data passed to print response. // Structure for data passed to print response.
type response struct { type response struct {
Data []byte Data []byte
Code types.CodeType Code types.CodeType
Key []byte Key []byte
Value []byte Value []byte
Log string Log string
Height string LastHeight string
Proof []byte Proof []byte
} }
// client is a global variable so it can be reused by the console // client is a global variable so it can be reused by the console
@ -299,20 +299,20 @@ func cmdQuery(c *cli.Context) error {
return err return err
} }
resQuery, err := client.QuerySync(types.RequestQuery{ resQuery, err := client.QuerySync(types.RequestQuery{
Data: queryBytes, Data: queryBytes,
Path: "/store", // TOOD expose Path: "/store", // TOOD expose
Height: 0, // TODO expose LastHeight: 0, // TODO expose
//Prove: true, // TODO expose //Prove: true, // TODO expose
}) })
if err != nil { if err != nil {
return err return err
} }
printResponse(c, response{ printResponse(c, response{
Code: resQuery.Code, Code: resQuery.Code,
Key: resQuery.Key, Key: resQuery.Key,
Value: resQuery.Value, Value: resQuery.Value,
Log: resQuery.Log, Log: resQuery.Log,
Height: fmt.Sprintf("%v", resQuery.Height), LastHeight: fmt.Sprintf("%v", resQuery.LastHeight),
//Proof: resQuery.Proof, //Proof: resQuery.Proof,
}) })
return nil return nil
@ -346,8 +346,8 @@ func printResponse(c *cli.Context, rsp response) {
if rsp.Log != "" { if rsp.Log != "" {
fmt.Printf("-> log: %s\n", rsp.Log) fmt.Printf("-> log: %s\n", rsp.Log)
} }
if rsp.Height != "" { if rsp.LastHeight != "" {
fmt.Printf("-> height: %s\n", rsp.Height) fmt.Printf("-> height: %s\n", rsp.LastHeight)
} }
if rsp.Proof != nil { if rsp.Proof != nil {
fmt.Printf("-> proof: %X\n", rsp.Proof) fmt.Printf("-> proof: %X\n", rsp.Proof)

View File

@ -30,6 +30,8 @@ func main() {
} }
type ChainAwareApplication struct { type ChainAwareApplication struct {
types.BaseApplication
beginCount int beginCount int
endCount int endCount int
} }
@ -38,26 +40,6 @@ func NewChainAwareApplication() *ChainAwareApplication {
return &ChainAwareApplication{} return &ChainAwareApplication{}
} }
func (app *ChainAwareApplication) Info() types.ResponseInfo {
return types.ResponseInfo{}
}
func (app *ChainAwareApplication) SetOption(key string, value string) (log string) {
return ""
}
func (app *ChainAwareApplication) DeliverTx(tx []byte) types.Result {
return types.NewResultOK(nil, "")
}
func (app *ChainAwareApplication) CheckTx(tx []byte) types.Result {
return types.NewResultOK(nil, "")
}
func (app *ChainAwareApplication) Commit() types.Result {
return types.NewResultOK([]byte("nil"), "")
}
func (app *ChainAwareApplication) Query(reqQuery types.RequestQuery) (resQuery types.ResponseQuery) { func (app *ChainAwareApplication) Query(reqQuery types.RequestQuery) (resQuery types.ResponseQuery) {
return types.ResponseQuery{ return types.ResponseQuery{
Value: []byte(cmn.Fmt("%d,%d", app.beginCount, app.endCount)), Value: []byte(cmn.Fmt("%d,%d", app.beginCount, app.endCount)),
@ -73,7 +55,3 @@ func (app *ChainAwareApplication) EndBlock(height uint64) (resEndBlock types.Res
app.endCount++ app.endCount++
return return
} }
func (app *ChainAwareApplication) InitChain(vals []*types.Validator) {
return
}

View File

@ -9,6 +9,8 @@ import (
) )
type CounterApplication struct { type CounterApplication struct {
types.BaseApplication
hashCount int hashCount int
txCount int txCount int
serial bool serial bool

View File

@ -9,6 +9,8 @@ import (
) )
type DummyApplication struct { type DummyApplication struct {
types.BaseApplication
state merkle.Tree state merkle.Tree
} }
@ -21,10 +23,6 @@ func (app *DummyApplication) Info() (resInfo types.ResponseInfo) {
return types.ResponseInfo{Data: fmt.Sprintf("{\"size\":%v}", app.state.Size())} return types.ResponseInfo{Data: fmt.Sprintf("{\"size\":%v}", app.state.Size())}
} }
func (app *DummyApplication) SetOption(key string, value string) (log string) {
return ""
}
// tx is either "key=value" or just arbitrary bytes // tx is either "key=value" or just arbitrary bytes
func (app *DummyApplication) DeliverTx(tx []byte) types.Result { func (app *DummyApplication) DeliverTx(tx []byte) types.Result {
parts := strings.Split(string(tx), "=") parts := strings.Split(string(tx), "=")

View File

@ -180,14 +180,13 @@ func makeApplyBlock(t *testing.T, dummy types.Application, heightInt int, diff [
Height: height, Height: height,
} }
dummyChain := dummy.(types.BlockchainAware) // hmm... dummy.BeginBlock(hash, header)
dummyChain.BeginBlock(hash, header)
for _, tx := range txs { for _, tx := range txs {
if r := dummy.DeliverTx(tx); r.IsErr() { if r := dummy.DeliverTx(tx); r.IsErr() {
t.Fatal(r) t.Fatal(r)
} }
} }
resEndBlock := dummyChain.EndBlock(height) resEndBlock := dummy.EndBlock(height)
dummy.Commit() dummy.Commit()
valsEqual(t, diff, resEndBlock.Diffs) valsEqual(t, diff, resEndBlock.Diffs)

View File

@ -14,7 +14,6 @@ import (
"github.com/tendermint/abci/client" "github.com/tendermint/abci/client"
"github.com/tendermint/abci/example/dummy" "github.com/tendermint/abci/example/dummy"
nilapp "github.com/tendermint/abci/example/nil"
"github.com/tendermint/abci/server" "github.com/tendermint/abci/server"
"github.com/tendermint/abci/types" "github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common" cmn "github.com/tendermint/go-common"
@ -25,14 +24,14 @@ func TestDummy(t *testing.T) {
testStream(t, dummy.NewDummyApplication()) testStream(t, dummy.NewDummyApplication())
} }
func TestNilApp(t *testing.T) { func TestBaseApp(t *testing.T) {
fmt.Println("### Testing NilApp") fmt.Println("### Testing BaseApp")
testStream(t, nilapp.NewNilApplication()) testStream(t, types.NewBaseApplication())
} }
func TestGRPC(t *testing.T) { func TestGRPC(t *testing.T) {
fmt.Println("### Testing GRPC") fmt.Println("### Testing GRPC")
testGRPCSync(t, types.NewGRPCApplication(nilapp.NewNilApplication())) testGRPCSync(t, types.NewGRPCApplication(types.NewBaseApplication()))
} }
func testStream(t *testing.T, app types.Application) { func testStream(t *testing.T, app types.Application) {

View File

@ -1,36 +0,0 @@
package nilapp
import (
"github.com/tendermint/abci/types"
)
type NilApplication struct {
}
func NewNilApplication() *NilApplication {
return &NilApplication{}
}
func (app *NilApplication) Info() (resInfo types.ResponseInfo) {
return
}
func (app *NilApplication) SetOption(key string, value string) (log string) {
return ""
}
func (app *NilApplication) DeliverTx(tx []byte) types.Result {
return types.NewResultOK(nil, "")
}
func (app *NilApplication) CheckTx(tx []byte) types.Result {
return types.NewResultOK(nil, "")
}
func (app *NilApplication) Commit() types.Result {
return types.NewResultOK([]byte("nil"), "")
}
func (app *NilApplication) Query(reqQuery types.RequestQuery) (resQuery types.ResponseQuery) {
return resQuery
}

View File

@ -187,22 +187,14 @@ func (s *SocketServer) handleRequest(req *types.Request, responses chan<- *types
resQuery := s.app.Query(*r.Query) resQuery := s.app.Query(*r.Query)
responses <- types.ToResponseQuery(resQuery) responses <- types.ToResponseQuery(resQuery)
case *types.Request_InitChain: case *types.Request_InitChain:
if app, ok := s.app.(types.BlockchainAware); ok { s.app.InitChain(r.InitChain.Validators)
app.InitChain(r.InitChain.Validators)
}
responses <- types.ToResponseInitChain() responses <- types.ToResponseInitChain()
case *types.Request_BeginBlock: case *types.Request_BeginBlock:
if app, ok := s.app.(types.BlockchainAware); ok { s.app.BeginBlock(r.BeginBlock.Hash, r.BeginBlock.Header)
app.BeginBlock(r.BeginBlock.Hash, r.BeginBlock.Header)
}
responses <- types.ToResponseBeginBlock() responses <- types.ToResponseBeginBlock()
case *types.Request_EndBlock: case *types.Request_EndBlock:
if app, ok := s.app.(types.BlockchainAware); ok { resEndBlock := s.app.EndBlock(r.EndBlock.Height)
resEndBlock := app.EndBlock(r.EndBlock.Height) responses <- types.ToResponseEndBlock(resEndBlock)
responses <- types.ToResponseEndBlock(resEndBlock)
} else {
responses <- types.ToResponseEndBlock(types.ResponseEndBlock{})
}
default: default:
responses <- types.ToResponseException("Unknown request") responses <- types.ToResponseException("Unknown request")
} }

View File

@ -6,42 +6,25 @@ import (
// Applications // Applications
type Application interface { type Application interface {
// Info/Query Connection
Info() ResponseInfo // Return application info
SetOption(key string, value string) (log string) // Set application option
Query(reqQuery RequestQuery) ResponseQuery // Query for state
// Return application info // Mempool Connection
Info() ResponseInfo CheckTx(tx []byte) Result // Validate a tx for the mempool
// Set application option (e.g. mode=mempool, mode=consensus) // Consensus Connection
SetOption(key string, value string) (log string) InitChain(validators []*Validator) // Initialize blockchain with validators from TendermintCore
BeginBlock(hash []byte, header *Header) // Signals the beginning of a block
// Deliver a tx DeliverTx(tx []byte) Result // Deliver a tx for full processing
DeliverTx(tx []byte) Result EndBlock(height uint64) ResponseEndBlock // Signals the end of a block, returns changes to the validator set
Commit() Result // Commit the state and return the application Merkle root hash
// Validate a tx for the mempool
CheckTx(tx []byte) Result
// Query for state
Query(reqQuery RequestQuery) ResponseQuery
// Return the application Merkle root hash
Commit() Result
}
// Some applications can choose to implement BlockchainAware
type BlockchainAware interface {
// Initialize blockchain
// validators: genesis validators from TendermintCore
InitChain(validators []*Validator)
// Signals the beginning of a block
BeginBlock(hash []byte, header *Header)
// Signals the end of a block
// diffs: changed validators from app to TendermintCore
EndBlock(height uint64) ResponseEndBlock
} }
//------------------------------------ //------------------------------------
// GRPC wrapper for application
type GRPCApplication struct { type GRPCApplication struct {
app Application app Application
} }
@ -88,23 +71,16 @@ func (app *GRPCApplication) Commit(ctx context.Context, req *RequestCommit) (*Re
} }
func (app *GRPCApplication) InitChain(ctx context.Context, req *RequestInitChain) (*ResponseInitChain, error) { func (app *GRPCApplication) InitChain(ctx context.Context, req *RequestInitChain) (*ResponseInitChain, error) {
if chainAware, ok := app.app.(BlockchainAware); ok { app.app.InitChain(req.Validators)
chainAware.InitChain(req.Validators) return &ResponseInitChain{}, nil // NOTE: empty return
}
return &ResponseInitChain{}, nil
} }
func (app *GRPCApplication) BeginBlock(ctx context.Context, req *RequestBeginBlock) (*ResponseBeginBlock, error) { func (app *GRPCApplication) BeginBlock(ctx context.Context, req *RequestBeginBlock) (*ResponseBeginBlock, error) {
if chainAware, ok := app.app.(BlockchainAware); ok { app.app.BeginBlock(req.Hash, req.Header)
chainAware.BeginBlock(req.Hash, req.Header) return &ResponseBeginBlock{}, nil // NOTE: empty return
}
return &ResponseBeginBlock{}, nil
} }
func (app *GRPCApplication) EndBlock(ctx context.Context, req *RequestEndBlock) (*ResponseEndBlock, error) { func (app *GRPCApplication) EndBlock(ctx context.Context, req *RequestEndBlock) (*ResponseEndBlock, error) {
if chainAware, ok := app.app.(BlockchainAware); ok { resEndBlock := app.app.EndBlock(req.Height)
resEndBlock := chainAware.EndBlock(req.Height) return &resEndBlock, nil
return &resEndBlock, nil
}
return &ResponseEndBlock{}, nil
} }

42
types/base_app.go Normal file
View File

@ -0,0 +1,42 @@
package types
type BaseApplication struct {
}
func NewBaseApplication() *BaseApplication {
return &BaseApplication{}
}
func (app *BaseApplication) Info() (resInfo ResponseInfo) {
return
}
func (app *BaseApplication) SetOption(key string, value string) (log string) {
return ""
}
func (app *BaseApplication) DeliverTx(tx []byte) Result {
return NewResultOK(nil, "")
}
func (app *BaseApplication) CheckTx(tx []byte) Result {
return NewResultOK(nil, "")
}
func (app *BaseApplication) Commit() Result {
return NewResultOK([]byte("nil"), "")
}
func (app *BaseApplication) Query(reqQuery RequestQuery) (resQuery ResponseQuery) {
return
}
func (app *BaseApplication) InitChain(validators []*Validator) {
}
func (app *BaseApplication) BeginBlock(hash []byte, header *Header) {
}
func (app *BaseApplication) EndBlock(height uint64) (resEndBlock ResponseEndBlock) {
return
}

View File

@ -716,10 +716,10 @@ func (m *RequestCheckTx) GetTx() []byte {
} }
type RequestQuery struct { type RequestQuery struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
Height uint64 `protobuf:"varint,3,opt,name=height" json:"height,omitempty"` LastHeight uint64 `protobuf:"varint,3,opt,name=last_height,json=lastHeight" json:"last_height,omitempty"`
Prove bool `protobuf:"varint,4,opt,name=prove" json:"prove,omitempty"` Prove bool `protobuf:"varint,4,opt,name=prove" json:"prove,omitempty"`
} }
func (m *RequestQuery) Reset() { *m = RequestQuery{} } func (m *RequestQuery) Reset() { *m = RequestQuery{} }
@ -741,9 +741,9 @@ func (m *RequestQuery) GetPath() string {
return "" return ""
} }
func (m *RequestQuery) GetHeight() uint64 { func (m *RequestQuery) GetLastHeight() uint64 {
if m != nil { if m != nil {
return m.Height return m.LastHeight
} }
return 0 return 0
} }
@ -1411,13 +1411,13 @@ func (m *ResponseCheckTx) GetLog() string {
} }
type ResponseQuery struct { type ResponseQuery struct {
Code CodeType `protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty"` Code CodeType `protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty"`
Index int64 `protobuf:"varint,2,opt,name=index" json:"index,omitempty"` Index int64 `protobuf:"varint,2,opt,name=index" json:"index,omitempty"`
Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
Proof []byte `protobuf:"bytes,5,opt,name=proof,proto3" json:"proof,omitempty"` Proof []byte `protobuf:"bytes,5,opt,name=proof,proto3" json:"proof,omitempty"`
Height uint64 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"` LastHeight uint64 `protobuf:"varint,6,opt,name=last_height,json=lastHeight" json:"last_height,omitempty"`
Log string `protobuf:"bytes,7,opt,name=log" json:"log,omitempty"` Log string `protobuf:"bytes,7,opt,name=log" json:"log,omitempty"`
} }
func (m *ResponseQuery) Reset() { *m = ResponseQuery{} } func (m *ResponseQuery) Reset() { *m = ResponseQuery{} }
@ -1460,9 +1460,9 @@ func (m *ResponseQuery) GetProof() []byte {
return nil return nil
} }
func (m *ResponseQuery) GetHeight() uint64 { func (m *ResponseQuery) GetLastHeight() uint64 {
if m != nil { if m != nil {
return m.Height return m.LastHeight
} }
return 0 return 0
} }
@ -2129,112 +2129,113 @@ var _ABCIApplication_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("types/types.proto", fileDescriptor0) } func init() { proto.RegisterFile("types/types.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{ var fileDescriptor0 = []byte{
// 1711 bytes of a gzipped FileDescriptorProto // 1723 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x58, 0x4b, 0x6f, 0xe4, 0xc6, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x58, 0x5b, 0x6f, 0xe3, 0xc6,
0x11, 0x16, 0xe7, 0x3d, 0x35, 0xd2, 0xa8, 0x55, 0x1a, 0x49, 0xd4, 0x24, 0x87, 0x05, 0x03, 0xc7, 0x15, 0x36, 0x75, 0xd7, 0x91, 0x2d, 0x8f, 0x8f, 0x65, 0x5b, 0x56, 0x0b, 0x74, 0xc1, 0x22, 0x8d,
0xda, 0x8d, 0xb3, 0x1b, 0xc8, 0x70, 0xb0, 0x8a, 0x83, 0x00, 0xd2, 0xae, 0xbc, 0x1a, 0x18, 0xde, 0x77, 0x9b, 0x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x74, 0xf9,
0x8a, 0x33, 0x65, 0x7c, 0xac, 0x51, 0xa8, 0x0a, 0x2d, 0xda, 0xa8, 0x08, 0x43, 0x1f, 0xa4, 0x30, 0x7a, 0xca, 0x55, 0x49, 0x1b, 0xa5, 0x94, 0x54, 0x3a, 0x97, 0x89, 0x9c, 0xd2, 0x39, 0x55, 0xc6,
0xd4, 0xae, 0xb4, 0xa1, 0xd2, 0xad, 0xe0, 0xd0, 0x63, 0x8d, 0x43, 0x9d, 0x5a, 0xc7, 0x25, 0x20, 0xc7, 0x1a, 0x8e, 0xca, 0x18, 0xa3, 0x8d, 0xf2, 0x78, 0xf4, 0x41, 0x82, 0x47, 0xf5, 0x52, 0x3d,
0x3a, 0x29, 0x01, 0x51, 0xb7, 0x76, 0xfb, 0x0d, 0x48, 0x74, 0x52, 0x42, 0xa2, 0x5e, 0xad, 0x69, 0x2a, 0xdd, 0x12, 0x20, 0x3d, 0xd6, 0x80, 0xd4, 0xa8, 0x74, 0x5c, 0x40, 0xa4, 0xb3, 0x02, 0x22,
0x03, 0x14, 0x7d, 0x58, 0x80, 0xa2, 0x7e, 0xa5, 0x03, 0x95, 0x61, 0x0d, 0x16, 0x3d, 0xcb, 0xb0, 0x35, 0x2b, 0xb7, 0xbf, 0x01, 0x92, 0xce, 0x0a, 0x90, 0xd4, 0xaa, 0x34, 0xdd, 0x80, 0x49, 0x1f,
0x68, 0x50, 0x41, 0x2f, 0x6d, 0x52, 0x05, 0xa3, 0x0f, 0x52, 0x30, 0x1a, 0xd6, 0x26, 0xad, 0x82, 0xe6, 0x30, 0xa9, 0x5d, 0x2a, 0x45, 0x65, 0x58, 0x01, 0x4a, 0xcf, 0x52, 0x50, 0xea, 0x94, 0x60,
0x46, 0x27, 0x25, 0x34, 0x82, 0xda, 0x70, 0x1a, 0xe0, 0xe8, 0xe7, 0x65, 0x38, 0x52, 0x98, 0x72, 0x4c, 0x9b, 0x94, 0x51, 0xe9, 0x83, 0x04, 0x95, 0xba, 0x95, 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x11,
0xf0, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x73, 0x34, 0x90, 0x2d, 0x4a, 0x12, 0x00, 0x00, 0x37, 0x3c, 0xf6, 0x47, 0x9b, 0x66, 0xed, 0x9b, 0x96, 0xfc, 0x1f, 0xe9, 0xc3, 0xff, 0x05, 0x00,
0x00, 0xff, 0xff, 0x3a, 0x61, 0xc1, 0xbf, 0x5c, 0x12, 0x00, 0x00,
} }

View File

@ -115,7 +115,7 @@ message RequestCheckTx{
message RequestQuery{ message RequestQuery{
bytes data = 1; bytes data = 1;
string path = 2; string path = 2;
uint64 height = 3; uint64 last_height = 3;
bool prove = 4; bool prove = 4;
} }
@ -192,11 +192,11 @@ message ResponseCheckTx{
message ResponseQuery{ message ResponseQuery{
CodeType code = 1; CodeType code = 1;
int64 index = 2; int64 index = 2;
bytes key = 3; bytes key = 3;
bytes value = 4; bytes value = 4;
bytes proof = 5; bytes proof = 5;
uint64 height = 6; uint64 last_height = 6;
string log = 7; string log = 7;
} }