Commit Graph

472 Commits

Author SHA1 Message Date
Emmanuel Odeke bbc3b807c6
all: fix vet issues with build tags, formatting
* Build tags need to come before the package name
and have at least a blank line, between them and
the package, please see
  https://golang.org/pkg/go/build/#hdr-Build_Constraints
* fmt.Println doesn't take formatting verbs
* Fix a missing formatting argument to fmt.Printf
2017-12-12 17:23:16 -07: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 fca2b508c1
Merge pull request #155 from tendermint/develop
v0.8.0 take II
2017-12-06 03:26:47 -05:00
Ethan Buchman 47216538fd types: add UnmarshalJSON funcs for Response types 2017-12-06 03:19:28 -05:00
Ethan Buchman 12dca48768
Merge pull request #154 from tendermint/develop
Release 0.8.0
2017-12-06 02:39:56 -05:00
Ethan Buchman 293cf5e634 minor fix [ci skip] 2017-12-06 02:41:14 -05:00
Ethan Buchman f860c33515 changelog and version 2017-12-06 02:33:35 -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 4b9cae8998
Merge pull request #151 from tendermint/set-option-code
ResponseSetOption includes a response Code. Closes #64"
2017-12-05 18:48:02 -05:00
Ethan Buchman 1b2c383205 ResponseSetOption includes a response Code. Closes #64" 2017-12-05 18:41:52 -05:00
Ethan Buchman fff8e963f8 update readme 2017-12-05 17:45:26 -05:00
Ethan Buchman cfa14074df Merge branch 'server-test' into develop 2017-12-05 17:39:30 -05:00
Ethan Buchman f6e22e4296 update readme for notes about grpc 2017-12-05 17:22:06 -05:00
Krzysztof Jurewicz 8357326db0 Fix test command 2017-12-05 18:28:15 +01:00
Adrian Brink e99e6ea0c7 Extend abci-cli to allow integration tests
This commit adds the basic test command 'abci-cli test' that will
allow developers of server for their own language to continuously test
their implementation.
2017-12-04 11:33:39 +01:00
Ethan Buchman 48413b4839
Merge pull request #149 from tendermint/gogo-int
Gogo int
2017-12-02 11:52:50 -05:00
Ethan Buchman 2b804bb5a1 remove custom type int https://github.com/gogo/protobuf/issues/359 2017-12-02 11:47:02 -05:00
Ethan Buchman 9afd3da3b2 changelog 2017-12-02 01:56:21 -05:00
Ethan Buchman 82d56571b5 types: int32 with gogo int 2017-12-02 01:48:46 -05:00
Ethan Buchman 3890a2058f types: IsOK() 2017-12-02 01:48:37 -05:00
Ethan Buchman 8831249e95
Merge pull request #147 from tendermint/int64
Int64
2017-12-01 16:12:20 -05:00
Ethan Buchman 026ff5e89f
Merge pull request #148 from tendermint/begin_block
Begin block
2017-12-01 16:11:49 -05:00
Ethan Buchman fc90b2de1c fix dummy test 2017-12-01 11:33:07 -05:00
Ethan Buchman b20273439d types: RequestBeginBlock includes absent and byzantine validators 2017-12-01 03:00:11 -05:00
Ethan Buchman 9272756c49 types: add note about ReadMessage having no cap 2017-12-01 03:00:11 -05:00
Ethan Buchman 3d3d1288d1 types: consolidate some file 2017-12-01 03:00:11 -05:00
Ethan Buchman b39e768a1a disable metalinter on CI 2017-12-01 02:50:17 -05:00
Ethan Buchman b7a75ce8c3 update readme 2017-12-01 01:16:00 -05:00
Ethan Buchman 0ad7dea71f uint64 -> int64 2017-12-01 00:41:07 -05:00
Ethan Buchman b59fe60e65 abci-cli: prefix flag variables with flag 2017-12-01 00:35:14 -05:00
Ethan Buchman d9d5e35ca5
Merge pull request #145 from tendermint/types-makeover
Types makeover
2017-11-30 20:19:21 -05:00
Ethan Buchman 5d2838ebab fix from review 2017-11-30 20:17:06 -05:00
Ethan Buchman ed393f9934 abci-cli: print OK if code is 0 2017-11-30 17:51:40 -05:00
Ethan Buchman e3f6666ecc update changelog; add rudis script for safe keeping 2017-11-30 17:48:05 -05:00
Ethan Buchman f00a19eaad fix tutorial output to remove code msg 2017-11-30 17:36:16 -05:00
Ethan Buchman 10031f57d5 fix grpc version; add log_level and some logging 2017-11-30 17:20:36 -05:00
Ethan Buchman 550d6a6081 shame: forgot to add new code pkg 2017-11-30 15:37:31 -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 24fbe291ab update glide; update services for new signature 2017-11-30 15:21:00 -05:00
Ethan Buchman 308cb8e454 use gogo/protobuf 2017-11-30 14:47:09 -05:00
Ethan Buchman 42a8e3240c remove CodeType 2017-11-30 14:29:12 -05:00
Anton Kaliaev 22b491bb19
Merge pull request #144 from tendermint/feature/tags-helper-methods
add 2 helper methods for building KVPair(s)
2017-11-30 11:37:03 -06:00
Anton Kaliaev 20befcf6d6
add 2 helper methods for building KVPair(s) 2017-11-30 11:17:35 -06:00
Ethan Buchman b89fd815a5
Merge pull request #141 from tendermint/feature/add-tags-to-dummy-app
include tags into dummy application DeliverTx response
2017-11-30 03:02:11 +00:00
Ethan Buchman 32a6545604 changelog [ci skip] 2017-11-30 03:02:48 +00:00
Ethan Buchman 3b994b4e8a dummy: include app.key tag 2017-11-30 02:45:40 +00:00
Anton Kaliaev 72c3ea3872
include tags into dummy application DeliverTx response
Refs https://github.com/tendermint/tendermint/pull/835
2017-11-29 20:19:58 -06:00
Ethan Buchman 5c29adc081
Merge pull request #139 from tendermint/sunset-tmlibs-process
tests: sunset tmlibs/process.Process
2017-11-28 08:04:27 +00:00
Ethan Buchman 67a81c13e2 run linter on make test 2017-11-28 07:55:07 +00:00