Commit Graph

152 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
Ethan Buchman
7579abd710 bring back dummy for backwards compatibility ... 2018-03-03 20:40:43 -05:00
zramsay
831e10f15d finish the job, dummy 2018-02-19 20:43:36 +00:00
zramsay
594db86069 rename dummy*.go files to kvstore*.go 2018-02-19 20:40:33 +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
baea45177d example/dummy: remove iavl dep - just use raw db 2018-02-03 02:02:40 -05:00
Ethan Buchman
a488c0f027 update changelog and glide and a fix 2018-01-05 22:19:37 -05: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
f390385baf Fee is a KNPair (#167)
KVPair is {[]byte,[]byte}
2017-12-24 18:39:16 -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
Jae Kwon
c14d3982ac ValidatorSetUpdates -> ValidatorUpdates 2017-12-20 00:02:41 -08:00
Anton Kaliaev
66296fe11a updates -> validator_set_updates
ConsensusParamChanges -> ConsensusParamUpdates
2017-12-19 12:13:45 -06:00
Ethan Frey
9c5e1a824d Updated naming of EndBlock parameters
* Changes -> Updates for validators
* ConsensusParams.XXXParams -> ConsensusParams.XXX
* As per feedback from Jae on PR
2017-12-14 09:27:20 +01:00
Ethan Frey
895e14d6bd Update Diffs to Changes, fix README 2017-12-13 17:57:43 +01:00
Ethan Buchman
1b2c383205 ResponseSetOption includes a response Code. Closes #64" 2017-12-05 18:41:52 -05:00
Ethan Buchman
fc90b2de1c fix dummy test 2017-12-01 11:33:07 -05:00
Ethan Buchman
0ad7dea71f uint64 -> int64 2017-12-01 00:41:07 -05:00
Ethan Buchman
e3f6666ecc update changelog; add rudis script for safe keeping 2017-11-30 17:48:05 -05:00
Ethan Buchman
550d6a6081 shame: forgot to add new code pkg 2017-11-30 15:37:31 -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
3b994b4e8a dummy: include app.key tag 2017-11-30 02:45:40 +00:00
Anton Kaliaev
72c3ea3872 include tags into dummy application DeliverTx response
Refs https://github.com/tendermint/tendermint/pull/835
2017-11-29 20:19:58 -06:00
Ethan Buchman
c7f54fb56c everything takes Request, returns Response; expect DeliverTx/CheckTx/Commit 2017-11-27 19:04:21 +00:00
Anton Kaliaev
f01f2bbf3a DeliverTxSync/CheckTxSync/CommitSync now return error as well 2017-11-22 17:34:00 -06:00
Anton Kaliaev
3a3d508e5c CheckTx and DeliverTx return ResponseCheckTx and ResponseDeliverTx respectively
Commit now returns ResponseCommit
2017-11-20 20:36:42 -06:00
Anton Kaliaev
10e1233f14 fix megacheck issues 2017-11-08 17:29:15 -05:00
Ethan Buchman
a0e38dc583 dummy: verify pubkey is go-crypto encoded in DeliverTx. closes #51 2017-10-25 23:34:37 -04:00
Ethan Frey
446e50ca9e Moved RandVal into test helper functions, as needed in other repos for testing 2017-10-23 14:20:15 +02:00
Ethan Frey
e7ebf62092 Remove empty check after iavl fixup 2017-10-23 14:08:36 +02:00
Ethan Buchman
a4443ddb0c update persistent dummy for versioned iavl 2017-10-23 00:06:50 -04:00
Ethan Frey
7aa00e9ddd Fix metalinter errors 2017-10-19 14:48:07 +02:00
Ethan Frey
46e1f1ae65 Cleaup based on Antons PR comments 2017-10-19 14:43:34 +02:00
Ethan Frey
bae4e4acce Fix up commits, debug cli tests 2017-10-19 14:38:29 +02:00
Ethan Frey
9aff9f94dd dummy app now uses iavl 2017-10-19 14:38:29 +02:00
Anton Kaliaev
15cd7fb1e3 fix comment [ci skip] 2017-10-04 00:06:46 +04:00
Ethan Buchman
667c2543ea use request struct for Info 2017-09-22 11:10:55 -04:00
Zach Ramsay
6a378d30f3 linting: cover the basics 2017-09-22 09:14:25 -04:00
Ethan Buchman
318345f996 fix tests 2017-09-22 00:10:13 -04:00
Ethan Buchman
f279171a28 use request structs for InitChain and BeginBlock 2017-09-18 15:51:48 -04:00
Ethan Buchman
5dabeffb35 fixes from review 2017-05-15 12:59:44 -04:00
Ethan Buchman
d07b2352ad NewXXXServer doesnt run Start or return error 2017-05-15 12:51:24 -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
9a6d190282 remove stdlog 2017-05-04 16:49:59 +04:00