594db86069
rename dummy*.go files to kvstore*.go
2018-02-19 20:40:33 +00:00
a3362ccf35
s/Dummy/KVStore/g
2018-02-19 20:38:22 +00:00
a488c0f027
update changelog and glide and a fix
2018-01-05 22:19:37 -05:00
c38ac88d69
Merge branch 'develop' into sdk2
2018-01-05 21:45:48 -05:00
47d5fd0f1b
prettify the command helpers
2018-01-01 16:21:36 +00:00
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
a861d68a31
Update glide.yaml and fix tests
2017-12-26 00:45:31 -08:00
96c816f428
Merge pull request #160 from KrzysiekJ/test-cmd-short-circuit
...
Short-circuit assertions in test command
2017-12-25 20:21:24 +00:00
2927caa0eb
fix flag parsing in console mode
2017-12-20 15:54:14 -05:00
e3d244091d
cleanup requested from review by @melekes
2017-12-16 15:49:38 -07:00
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
```
2017-12-12 16:57:51 -07:00
cabc516726
batch: progress
2017-12-12 16:57:51 -07:00
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
2017-12-12 16:57:51 -07:00
6633889632
Short-circuit assertions in test command
2017-12-12 21:06:56 +01:00
47216538fd
types: add UnmarshalJSON funcs for Response types
2017-12-06 03:19:28 -05:00
1b2c383205
ResponseSetOption includes a response Code. Closes #64 "
2017-12-05 18:41:52 -05:00
8357326db0
Fix test command
2017-12-05 18:28:15 +01:00
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
b59fe60e65
abci-cli: prefix flag variables with flag
2017-12-01 00:35:14 -05:00
ed393f9934
abci-cli: print OK if code is 0
2017-11-30 17:51:40 -05:00
10031f57d5
fix grpc version; add log_level and some logging
2017-11-30 17:20:36 -05:00
24fbe291ab
update glide; update services for new signature
2017-11-30 15:21:00 -05:00
42a8e3240c
remove CodeType
2017-11-30 14:29:12 -05:00
26d967af7e
linter
2017-11-27 20:42:30 +00:00
fb612e5a7b
fixup tests
2017-11-27 19:52:06 +00:00
c7f54fb56c
everything takes Request, returns Response; expect DeliverTx/CheckTx/Commit
2017-11-27 19:04:21 +00:00
f01f2bbf3a
DeliverTxSync/CheckTxSync/CommitSync now return error as well
2017-11-22 17:34:00 -06:00
5be9c50b47
fix megacheck warning
2017-11-21 17:53:48 -06:00
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
ecb1f02f77
add version cmd (Refs #124 )
2017-11-08 17:20:10 -05:00
f013ee5cf9
cli: use cobra's new ExactArgs() feature
2017-10-26 08:51:43 -04:00
461191d2f7
cli: clean up error handling
2017-10-26 08:37:42 -04:00
36de70be10
console: fix output, closes #93
2017-10-23 19:35:02 -04:00
3330cb4856
cleanup
2017-10-23 17:27:59 -04:00
f9e14ad61b
disable PersistenPreRun for counter/dummy
2017-10-23 17:18:46 -04:00
df5d9ac1bb
consolidate counter/dummy into the binary, #95
2017-10-23 17:18:46 -04:00
9883013adf
use cobra, closes #101
2017-10-23 17:17:05 -04:00
667c2543ea
use request struct for Info
2017-09-22 11:10:55 -04:00
6a378d30f3
linting: cover the basics
2017-09-22 09:14:25 -04:00
21fff49f2c
Merge branch 'feature/adrian-extendABCIcli' into develop
2017-05-15 12:30:02 -04:00
894f3fca73
cmd: query params are flags
2017-05-15 12:28:37 -04:00
eda4f2dddc
NewXXXClient doesnt run Start or return error
2017-05-15 11:29:34 -04:00
b55e695d3d
Remove debug statement
2017-05-13 21:08:34 +02:00
4674bf96b0
Extend the query command
2017-05-13 18:37:00 +02:00
1dc3629b1a
update log interface
2017-05-04 23:17:16 +04:00
d2a4b16b28
introduce testing logger
2017-05-04 16:50:00 +04:00
9a6d190282
remove stdlog
2017-05-04 16:49:59 +04:00
986bdd00a5
new logging
2017-05-04 16:49:59 +04:00
0b1ee4b673
version bump to 0.4.0
2017-03-03 18:43:08 -05:00
eaeb2658ea
fixes from review
2017-03-03 18:39:10 -05:00