Ethan Buchman
90c3a469ff
Revert "Merge pull request #247 from tendermint/bucky/no-gogo"
...
This reverts commit ef79007433878cec815a2a704ec5fcfa2686412f, reversing
changes made to bcfdd6dbaf10c947392e2b0a097b65b5fb247baf.
2018-05-31 21:45:14 -04:00
Ethan Buchman
01f87fd8d3
remove gogoproto
2018-05-24 00:13:43 -04:00
Ethan Buchman
cfdec76020
update everything for Params and Result types
2018-05-23 23:27:46 -04:00
Ethan Buchman
5830c338ae
Application uses new ParamsXxx and ResultXxx Types
2018-05-23 22:49:46 -04:00
Ethan Buchman
07a9ddb2d5
result.go is json.go and codetype.go
2018-05-23 22:49:13 -04:00
Jae Kwon
8f87efd7f8
ABCI message updates (code/log/info)
...
* Add info to Response[CheckTx/DeliverTx/Query]
* Remove code and log from Response[SetOption/Commit]
2017-12-26 15:46:06 -08:00
Ethan Buchman
310beae63c
types: check ResponseCheckTx too
2017-12-12 10:14:50 -05:00
Emmanuel Odeke
7167d4e4c7
types: compile type assertions to avoid sneaky runtime surprises
...
Ensure that the types in result.go implement both
json.Marshaler and json.Unmarshaler
and thus avoid any accidental deletions of their respective
methods which would then cause surprises at runtime.
2017-12-12 01:15:39 -07:00
Ethan Buchman
47216538fd
types: add UnmarshalJSON funcs for Response types
2017-12-06 03:19:28 -05:00
Ethan Buchman
e1ee4d6bf5
types: add MarshalJSON funcs for Response types with a Code
2017-12-06 01:56:39 -05:00
Ethan Buchman
3890a2058f
types: IsOK()
2017-12-02 01:48:37 -05:00
Ethan Buchman
e3f6666ecc
update changelog; add rudis script for safe keeping
2017-11-30 17:48:05 -05:00
Ethan Buchman
81e4effbdb
types: use data.Bytes directly in type.proto via gogo/protobuf. wow
2017-11-30 15:31:12 -05:00
Ethan Buchman
42a8e3240c
remove CodeType
2017-11-30 14:29:12 -05:00
Anton Kaliaev
1726e82865
add IsErr and Error method for ResultQuery
2017-11-22 18:19:41 -06:00
Anton Kaliaev
91efacfabc
remove types.Result
2017-11-22 17:44:39 -06:00
Anton Kaliaev
01252e8cc8
mark Result as deprecated
2017-11-22 16:18:06 -06:00
Anton Kaliaev
5fd83b3eee
implement error interface for ResponseDeliverTx/CheckTx/Commit
2017-11-22 16:17:34 -06:00
Anton Kaliaev
fbe7234639
remove Result from the client package
...
plus make Client interface more consistent. All *Sync functions now
return an error as a second return param. Deliver/Check/Commit use Code
to indicate errors and have IsErr() func defined on ResponseXYZ structs.
2017-11-21 17:44:13 -06:00
Anton Kaliaev
3a3d508e5c
CheckTx and DeliverTx return ResponseCheckTx and ResponseDeliverTx respectively
...
Commit now returns ResponseCommit
2017-11-20 20:36:42 -06:00
Anton Kaliaev
fc7db13fa8
remove tags from CheckTx
...
add value_type field to KVPair
2017-11-20 18:21:59 -06:00
Anton Kaliaev
bb0d7e9526
add tags field to DeliverTx and CheckTx
2017-11-20 16:56:57 -06:00
Ethan Buchman
f279171a28
use request structs for InitChain and BeginBlock
2017-09-18 15:51:48 -04:00
rigel rozanski
05dc4d12dd
result.IsSameCode
2017-05-15 09:50:49 -04:00
Ethan Buchman
8d8e35ae53
types: methods convert pb types to use data.Bytes
2017-04-27 19:53:22 -04:00
Ethan Buchman
8339dc3b1a
types: Result and Validator use data.Bytes
2017-04-27 19:21:26 -04:00
Jae Kwon
05096de368
Add Result.String
2017-01-15 14:43:16 -08:00
Ethan Buchman
5189a2248d
TMSP -> ABCI
2017-01-12 16:04:32 -05:00
Jae Kwon
1dfc6950dd
TMSPResult tweak
2016-03-24 11:27:04 -07:00
Jae Kwon
6785b9a3b6
CommitSync returns tmsp.Result
2016-03-23 02:50:29 -07:00
Jae Kwon
5a3975d54a
Add wire expression support
2016-03-22 15:18:03 -07:00
Jae Kwon
3d2d8c7d6a
Result convenience methods; Shuffled Base* code types
2016-03-21 15:33:16 -07:00
Jae Kwon
06a0ac8188
Add NewError -> Result with no data
2016-03-20 17:20:41 -07:00
Jae Kwon
55e2ce9de2
Group (code,data,log) return values into types.Result
2016-03-20 17:10:13 -07:00