Commit Graph

78 Commits

Author SHA1 Message Date
Jae Kwon aaaacba1cd Use gogoproto's nullable=false (#166)
* Use gogoproto's nullable=false where appropriate.
2017-12-22 19:41:19 -08:00
Ethan Buchman 9c145a9e19 Merge branch 'develop' into use-single-connection-in-console 2017-12-20 15:55:36 -05:00
Emmanuel Odeke e3d244091d cleanup requested from review by @melekes 2017-12-16 15:49:38 -07:00
Anton Kaliaev c532e8cabc add \n to Printf lines 2017-12-12 22:44:55 -06:00
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 293cf5e634 minor fix [ci skip] 2017-12-06 02:41:14 -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 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 24fbe291ab update glide; update services for new signature 2017-11-30 15:21:00 -05:00
Ethan Buchman 42a8e3240c remove CodeType 2017-11-30 14:29:12 -05:00
Ethan Buchman 67a81c13e2 run linter on make test 2017-11-28 07:55:07 +00:00
Ethan Buchman 9ed5787b6a tests: fix ensureABCIIsUp 2017-11-28 07:38:01 +00:00
Emmanuel Odeke 6231652e87 tests: sunset tmlibs/process.Process
Updates https://github.com/tendermint/tmlibs/issues/81

No longer using tmlibs/process.Process as we deemed
it racy and would incur a maintenance cost yet not
used anywhere else but in these tests and not in actual
code.
2017-11-27 22:50:31 -07:00
Ethan Buchman fb612e5a7b fixup tests 2017-11-27 19:52:06 +00:00
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