Anton Kaliaev
03fafeec2f
fix formatting of panicf function
2017-11-22 19:38:04 -06:00
Anton Kaliaev
f01f2bbf3a
DeliverTxSync/CheckTxSync/CommitSync now return error as well
2017-11-22 17:34:00 -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
1d49453ffb
fix integration tests ( Fixes #131 )
2017-11-14 12:53:40 -06:00
Ethan Buchman
66de53292e
Merge pull request #117 from tendermint/cobra-not-urfave
...
use spf13/cobra instead of urfave/cli
2017-10-27 02:47:21 -04:00
Ethan Buchman
4884747eb7
tests: add simple client/server test with no addr prefix
2017-10-25 23:23:23 -04:00
Zach Ramsay
4479e95709
console: fix tests
2017-10-23 19:54:38 -04:00
Zach Ramsay
631844895f
fixes
2017-10-23 17:18:46 -04:00
Ethan Frey
46e1f1ae65
Cleaup based on Antons PR comments
2017-10-19 14:43:34 +02:00
Ethan Frey
d236e0eef9
Fix trailing whitespace in tutorial test
2017-10-19 14:38:30 +02:00
Ethan Frey
bae4e4acce
Fix up commits, debug cli tests
2017-10-19 14:38:29 +02:00
Zach Ramsay
fe426de5d4
lint: couple more fixes
2017-09-22 09:45:50 -04:00
Ethan Buchman
a3ac825490
small fix
2017-09-22 09:14:45 -04:00
Zach Ramsay
65eb7e8974
linted, somewhat
2017-09-22 09:14:25 -04:00
Zach Ramsay
6a378d30f3
linting: cover the basics
2017-09-22 09:14:25 -04:00
Ethan Buchman
5dabeffb35
fixes from review
2017-05-15 12:59:44 -04:00
Ethan Buchman
eda4f2dddc
NewXXXClient doesnt run Start or return error
2017-05-15 11:29:34 -04:00
Anton Kaliaev
1dc3629b1a
update log interface
2017-05-04 23:17:16 +04:00
Anton Kaliaev
d2a4b16b28
introduce testing logger
2017-05-04 16:50:00 +04:00
Anton Kaliaev
ce124c4aeb
modify test scripts to use relative paths
2017-05-04 16:50:00 +04:00
Anton Kaliaev
986bdd00a5
new logging
2017-05-04 16:49:59 +04:00
Ethan Buchman
28d042fdae
use tmlibs
2017-04-21 18:25:13 -04:00
Ethan Buchman
eaeb2658ea
fixes from review
2017-03-03 18:39:10 -05:00
Jae Kwon
8df0bc3a40
Merge branch 'abci_proof' into develop
2017-01-27 22:27:32 -08:00
Jae Kwon
2a4894310d
Remove Proof message, replace with more flexible Query
2017-01-27 10:35:27 -08:00
Jae Kwon
9745f07bee
common -> cmn
2017-01-23 20:26:17 -08:00
Tzu-Jung Lee
55cb08722d
lint: s/+=1/++, remove else clauses
2017-01-17 00:30:36 -08:00
Tzu-Jung Lee
af2a66b226
test_app: unexport internal function.
...
This reverts commit 24c9b2761d7da5ab5084310f0cb3e51c7fc9738d.
2017-01-16 23:23:19 -08:00
Tzu-Jung Lee
9134905f42
cleanup: replace common.Exit with log.Crit or log.Fatal
...
Later we can pick another logger that has fatal, like zap?
2017-01-16 23:23:19 -08:00
Tzu-Jung Lee
1150bbfe36
lint: s/common.Fmt/fmt.Sprintf
2017-01-16 23:20:04 -08:00
Tzu-Jung Lee
fcaa545e1e
lint: remove dot import (go-common)
...
Spell out the package explicitly.
This commit is totally textual, and does not change any logic.
The swiss-army knife package may serve a kick-start in early
stage development. But as the codebase growing, we might want
to retire it gradually:
For simple wrapping functions, just inline it on the call site.
For larger pice of code, make it an independent package.
2017-01-16 23:20:04 -08:00
Tzu-Jung Lee
aae3c91e88
fmt: run 'make fmt'
2017-01-16 22:03:27 -08:00
Ethan Buchman
5189a2248d
TMSP -> ABCI
2017-01-12 16:04:32 -05:00
Ethan Buchman
80f377135b
AppendTx -> DeliverTx
2017-01-12 15:27:08 -05:00
Matt Bell
4bb65366f4
Update CLI test string args
2017-01-03 19:26:37 -08:00
Jae Kwon
c5f008d60f
Fix TMSP tutorial outputs
2016-12-06 03:57:09 -08:00
Jae Kwon
5e83e481bf
Fix tests; Update go-merkle API
2016-12-06 02:15:32 -08:00
Ethan Buchman
37b5cca87c
update cli example for new query result format
2016-11-22 21:06:50 -05:00
Ethan Buchman
ead192adbb
test: more verbosity
2016-09-10 20:10:59 -04:00
Ethan Buchman
1b13f14e08
consolidate example tests; grpc fail fast
2016-08-15 15:04:32 -04:00
Ethan Buchman
3b329039d8
better testing. cli test for tutorial
2016-07-23 18:57:05 -04:00
Ethan Buchman
ba11348508
update make test
2016-07-22 01:23:13 -04:00
Ethan Buchman
49a67aee8a
add circle.yml. disable js test
2016-07-06 17:13:33 -04:00
Ethan Buchman
88f8141ab8
cleanup cli, drop expr
2016-07-01 20:22:58 -04:00
Ethan Buchman
1ab3c74718
silly grpc client
2016-05-23 14:45:07 -04:00
Ethan Buchman
c3cc5375be
ignore mustConnect for now. fix test_counter
2016-05-17 22:45:45 -04:00
Ethan Buchman
5dc7bee57b
Responses/Requests -> Value
2016-05-17 20:06:24 -04:00
Ethan Buchman
32f83f9494
fix up tmsp-cli, tests
2016-05-14 03:09:47 -04:00
Jae Kwon
062c33c109
TMSP Client is an interface
2016-03-24 10:42:25 -07:00
Jae Kwon
83fc4fc3b6
Allow late connecting
2016-03-23 21:07:03 -07:00