Emmanuel Odeke
5ea42475ce
cmd/abci-cli: implement batch
Can now run batch which can be tested by:
```shell
echo -e "echo foo\necho blue" | abci-cli batch
```
giving
```shell
I[12-12|07:55:55.513] Starting socketClient
module=abci-client impl=socketClient
-> code: OK
-> data: foo
-> data.hex: 0x666F6F
-> code: OK
-> data: blue
-> data.hex: 0x626C7565
```
7 years ago
Zach Ramsay
cabc516726
batch: progress
7 years ago
Emmanuel Odeke
ecc13d5a8e
cmd/abci-cli: use a single connection per session
Use the single client connection at startup time
for sending over commands instead of shelling out
for every command.
This code fixes the regression from
https://github.com/tendermint/abci/pull/117
which instead used "os/exec".Command with:
"abci-cli <the_command> [args...]"
The purpose of this code is to restore us
back to the state after cobra replace urlfave/cli.
There is still a bit of work to implement Batch
itself, but that should be simpler as a focused
command.
Fixes #133
7 years ago
Krzysztof Jurewicz
6633889632
Short-circuit assertions in test command
7 years ago
Ethan Buchman
310beae63c
types: check ResponseCheckTx too
7 years ago
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.
7 years ago
Zach Ramsay
d6e821ea4f
linter: enable in CI & make deterministic
7 years ago
Ethan Buchman
fca2b508c1
Merge pull request #155 from tendermint/develop
v0.8.0 take II
7 years ago
Ethan Buchman
47216538fd
types: add UnmarshalJSON funcs for Response types
7 years ago
Ethan Buchman
12dca48768
Merge pull request #154 from tendermint/develop
Release 0.8.0
7 years ago
Ethan Buchman
293cf5e634
minor fix [ci skip]
7 years ago
Ethan Buchman
f860c33515
changelog and version
7 years ago
Ethan Buchman
e1ee4d6bf5
types: add MarshalJSON funcs for Response types with a Code
7 years ago
Ethan Buchman
4b9cae8998
Merge pull request #151 from tendermint/set-option-code
ResponseSetOption includes a response Code. Closes #64"
7 years ago
Ethan Buchman
1b2c383205
ResponseSetOption includes a response Code. Closes #64"
7 years ago
Ethan Buchman
fff8e963f8
update readme
7 years ago
Ethan Buchman
cfa14074df
Merge branch 'server-test' into develop
7 years ago
Ethan Buchman
f6e22e4296
update readme for notes about grpc
7 years ago
Krzysztof Jurewicz
8357326db0
Fix test command
7 years ago
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.
8 years ago
Ethan Buchman
48413b4839
Merge pull request #149 from tendermint/gogo-int
Gogo int
7 years ago
Ethan Buchman
2b804bb5a1
remove custom type int https://github.com/gogo/protobuf/issues/359
7 years ago
Ethan Buchman
9afd3da3b2
changelog
7 years ago
Ethan Buchman
82d56571b5
types: int32 with gogo int
7 years ago
Ethan Buchman
3890a2058f
types: IsOK()
7 years ago
Ethan Buchman
8831249e95
Merge pull request #147 from tendermint/int64
Int64
7 years ago
Ethan Buchman
026ff5e89f
Merge pull request #148 from tendermint/begin_block
Begin block
7 years ago
Ethan Buchman
fc90b2de1c
fix dummy test
7 years ago
Ethan Buchman
b20273439d
types: RequestBeginBlock includes absent and byzantine validators
7 years ago
Ethan Buchman
9272756c49
types: add note about ReadMessage having no cap
7 years ago
Ethan Buchman
3d3d1288d1
types: consolidate some file
7 years ago
Ethan Buchman
b39e768a1a
disable metalinter on CI
7 years ago
Ethan Buchman
b7a75ce8c3
update readme
7 years ago
Ethan Buchman
0ad7dea71f
uint64 -> int64
7 years ago
Ethan Buchman
b59fe60e65
abci-cli: prefix flag variables with flag
7 years ago
Ethan Buchman
d9d5e35ca5
Merge pull request #145 from tendermint/types-makeover
Types makeover
7 years ago
Ethan Buchman
5d2838ebab
fix from review
7 years ago
Ethan Buchman
ed393f9934
abci-cli: print OK if code is 0
7 years ago
Ethan Buchman
e3f6666ecc
update changelog; add rudis script for safe keeping
7 years ago
Ethan Buchman
f00a19eaad
fix tutorial output to remove code msg
7 years ago
Ethan Buchman
10031f57d5
fix grpc version; add log_level and some logging
7 years ago
Ethan Buchman
550d6a6081
shame: forgot to add new code pkg
7 years ago
Ethan Buchman
81e4effbdb
types: use data.Bytes directly in type.proto via gogo/protobuf. wow
7 years ago
Ethan Buchman
24fbe291ab
update glide; update services for new signature
7 years ago
Ethan Buchman
308cb8e454
use gogo/protobuf
7 years ago
Ethan Buchman
42a8e3240c
remove CodeType
7 years ago
Anton Kaliaev
22b491bb19
Merge pull request #144 from tendermint/feature/tags-helper-methods
add 2 helper methods for building KVPair(s)
7 years ago
Anton Kaliaev
20befcf6d6
add 2 helper methods for building KVPair(s)
7 years ago
Ethan Buchman
b89fd815a5
Merge pull request #141 from tendermint/feature/add-tags-to-dummy-app
include tags into dummy application DeliverTx response
7 years ago
Ethan Buchman
32a6545604
changelog [ci skip]
7 years ago