Browse Source

ResponseSetOption includes a response Code. Closes #64"

pull/1780/head
Ethan Buchman 7 years ago
parent
commit
1b2c383205
8 changed files with 123 additions and 101 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -0
      README.md
  3. +2
    -1
      cmd/abci-cli/abci-cli.go
  4. +2
    -0
      example/code/code.go
  5. +9
    -1
      example/counter/counter.go
  6. +1
    -1
      types/application.go
  7. +105
    -97
      types/types.pb.go
  8. +2
    -1
      types/types.proto

+ 1
- 0
CHANGELOG.md View File

@ -15,6 +15,7 @@ BREAKING CHANGES:
- [types] `pubKey` -> `pub_key`
- [types] `uint64` -> `int32` for `Header.num_txs` and `PartSetHeader.total`
- [types] `uint64` -> `int64` for everything else
- [types] ResponseSetOption includes error code
- [abci-cli] codes are printed as their number instead of a message, except for `code == 0`, which is still printed as `OK`
FEATURES:


+ 1
- 0
README.md View File

@ -160,6 +160,7 @@ Here, we describe the requests and responses as function arguments and return va
* `Key (string)`: Key to set
* `Value (string)`: Value to set for key
* __Returns__:
* `Code (uint32)`: Response code
* `Log (string)`: Debug or error message
* __Usage__:<br/>
Set application options. E.g. Key="mode", Value="mempool" for a mempool connection, or Key="mode", Value="consensus" for a consensus connection.


+ 2
- 1
cmd/abci-cli/abci-cli.go View File

@ -429,7 +429,8 @@ func cmdSetOption(cmd *cobra.Command, args []string) error {
return err
}
printResponse(cmd, args, response{
Log: res.Log,
Code: res.Code,
Log: res.Log,
})
return nil
}


+ 2
- 0
example/code/code.go View File

@ -6,4 +6,6 @@ const (
CodeTypeEncodingError uint32 = 1
CodeTypeBadNonce uint32 = 2
CodeTypeUnauthorized uint32 = 3
CodeTypeBadOption uint32 = 101
)

+ 9
- 1
example/counter/counter.go View File

@ -29,8 +29,16 @@ func (app *CounterApplication) SetOption(req types.RequestSetOption) types.Respo
key, value := req.Key, req.Value
if key == "serial" && value == "on" {
app.serial = true
} else {
return types.ResponseSetOption{
Code: code.CodeTypeBadOption,
Log: cmn.Fmt("Unknown key (%s) or value (%s)", key, value),
}
}
return types.ResponseSetOption{
Code: code.CodeTypeOK,
}
return types.ResponseSetOption{}
}
func (app *CounterApplication) DeliverTx(tx []byte) types.ResponseDeliverTx {


+ 1
- 1
types/application.go View File

@ -42,7 +42,7 @@ func (BaseApplication) Info(req RequestInfo) ResponseInfo {
}
func (BaseApplication) SetOption(req RequestSetOption) ResponseSetOption {
return ResponseSetOption{}
return ResponseSetOption{Code: CodeTypeOK}
}
func (BaseApplication) DeliverTx(tx []byte) ResponseDeliverTx {


+ 105
- 97
types/types.pb.go View File

@ -1212,7 +1212,8 @@ func (m *ResponseInfo) GetLastBlockAppHash() []byte {
}
type ResponseSetOption struct {
Log string `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"`
}
func (m *ResponseSetOption) Reset() { *m = ResponseSetOption{} }
@ -1220,6 +1221,13 @@ func (m *ResponseSetOption) String() string { return proto.CompactTex
func (*ResponseSetOption) ProtoMessage() {}
func (*ResponseSetOption) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{17} }
func (m *ResponseSetOption) GetCode() uint32 {
if m != nil {
return m.Code
}
return 0
}
func (m *ResponseSetOption) GetLog() string {
if m != nil {
return m.Log
@ -2059,101 +2067,101 @@ func init() { proto.RegisterFile("types/types.proto", fileDescriptorTypes) }
var fileDescriptorTypes = []byte{
// 1554 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x98, 0xcb, 0x6e, 0xdb, 0x46,
0x17, 0xc7, 0x2d, 0x51, 0xd4, 0xe5, 0xf8, 0x26, 0x8f, 0xfd, 0x25, 0x8a, 0xb2, 0x88, 0x43, 0x20,
0x5f, 0xe4, 0x5c, 0xac, 0x7c, 0x0e, 0xf2, 0x21, 0x4e, 0x8a, 0x02, 0x56,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84, 0x3e,
0x4e, 0x8f, 0x45, 0x4f, 0xdf, 0x76, 0x61, 0xf5, 0x47, 0x1e, 0x41, 0x2d, 0xcc, 0x5c, 0xf9, 0x0f,
0xe0, 0x76, 0x41, 0x01, 0x28, 0x8e, 0x47, 0xe6, 0x93, 0xbc, 0x77, 0x6d, 0x3b, 0xb7, 0xa6, 0x23,
0x0f, 0xa1, 0xaa, 0x50, 0x9a, 0xfb, 0x76, 0x6e, 0xe7, 0x57, 0x8e, 0x62, 0x93, 0xf1, 0x13, 0xa8,
0xe8, 0x51, 0xdc, 0x2e, 0xac, 0x09, 0xc9, 0x09, 0x40, 0xe2, 0xed, 0x53, 0xf8, 0x34, 0x6e, 0x17,
0x57, 0x86, 0x44, 0xdc, 0x9d, 0xe8, 0xf5, 0x91, 0xff, 0x40, 0x6e, 0x17, 0x15, 0x87, 0xa3, 0x2a,
0xfe, 0xd3, 0xe5, 0xc1, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x00, 0x4d, 0x6a, 0x92, 0xbf, 0x11,
0x00, 0x00,
}

+ 2
- 1
types/types.proto View File

@ -114,7 +114,8 @@ message ResponseInfo {
}
message ResponseSetOption{
string log = 1;
uint32 code = 1;
string log = 2;
}
message ResponseDeliverTx{


Loading…
Cancel
Save