Commit Graph

92 Commits

Author SHA1 Message Date
Adrian Brink
f80b3aee48 Change AppStateBytes to GenesisBytes
The consensus should pass the entire genesis file to the application.
That way the application has access to the chain_id, the timestap, ...
2018-05-13 19:50:15 -04:00
Zaki Manian
192fb2aabc Fix string formatting error for go1.10 (#201) 2018-02-27 16:03:21 +04:00
zramsay
831e10f15d finish the job, dummy 2018-02-19 20:43:36 +00:00
zramsay
a3362ccf35 s/Dummy/KVStore/g 2018-02-19 20:38:22 +00:00
Ethan Buchman
a6be687088 types: RequestInitChain.AppStateBytes 2018-02-16 19:49:33 -05:00
Ethan Buchman
1148027baf remove go-wire and go-crypto deps 2018-02-03 02:39:34 -05:00
Ethan Buchman
2bd556205d disable fragile bash test 2018-01-05 22:57:45 -05:00
Ethan Buchman
a55adfaa4f tests: use shasum to avoid rarer dependency 2018-01-05 22:33:18 -05:00
Ethan Buchman
a488c0f027 update changelog and glide and a fix 2018-01-05 22:19:37 -05:00
Ethan Buchman
c38ac88d69 Merge branch 'develop' into sdk2 2018-01-05 21:45:48 -05:00
Zach Ramsay
f47b8f8a2d use sha256sum because more secure 2018-01-04 15:41:25 +00:00
Jae Kwon
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
Jae Kwon
e1ff53fd0b Use []byte instead of Bytes, use tmlibs/common.KVPair 2017-12-26 04:52:02 -08:00
Jae Kwon
a861d68a31 Update glide.yaml and fix tests 2017-12-26 00:45:31 -08:00
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