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.
8 years ago
Ethan Buchman
5d2838ebab
fix from review
7 years ago
Ethan Buchman
10031f57d5
fix grpc version; add log_level and some logging
7 years ago
Ethan Buchman
42a8e3240c
remove CodeType
7 years ago
Ethan Buchman
bb141794c8
client: use vars for retry intervals
7 years ago
Ethan Buchman
c7f54fb56c
everything takes Request, returns Response; expect DeliverTx/CheckTx/Commit
7 years ago
Anton Kaliaev
0176a834d1
refactor code
7 years ago
Anton Kaliaev
f01f2bbf3a
DeliverTxSync/CheckTxSync/CommitSync now return error as well
7 years ago
Anton Kaliaev
f6a79dd7c5
add interface assertions for all clients
7 years ago
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.
7 years ago
Ethan Buchman
667c2543ea
use request struct for Info
7 years ago
Zach Ramsay
36e96c5bf1
linting: catch some errors
7 years ago
Zach Ramsay
6a378d30f3
linting: cover the basics
7 years ago
Ethan Buchman
f279171a28
use request structs for InitChain and BeginBlock
7 years ago
Ethan Buchman
eda4f2dddc
NewXXXClient doesnt run Start or return error
8 years ago
Anton Kaliaev
986bdd00a5
new logging
8 years ago
Ethan Buchman
28d042fdae
use tmlibs
8 years ago
Jae Kwon
2a4894310d
Remove Proof message, replace with more flexible Query
8 years ago
Jae Kwon
9745f07bee
common -> cmn
8 years ago
Ethan Frey
fdc047ae7a
Proof uses uint64 for blockHeight
8 years ago
Ethan Frey
cfc3f24751
Everything compiles, test proof in dummy app
8 years ago
Ethan Frey
58ea995032
Begin adding proof calls
8 years ago
Tzu-Jung Lee
55cb08722d
lint: s/+=1/++, remove else clauses
8 years ago
Tzu-Jung Lee
1150bbfe36
lint: s/common.Fmt/fmt.Sprintf
8 years ago
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.
8 years ago
Tzu-Jung Lee
aae3c91e88
fmt: run 'make fmt'
8 years ago
Ethan Buchman
5189a2248d
TMSP -> ABCI
8 years ago
Ethan Buchman
80f377135b
AppendTx -> DeliverTx
8 years ago
Jae Kwon
f8167872d8
EndBlock also returns ResponseEndBlock
8 years ago
Jae Kwon
8b76f3dd00
Make fields in ResponseInfo be flat
8 years ago
Ethan Buchman
ddb2b01631
BeginBlock(hash, header)
8 years ago
Ethan Buchman
7901825ad9
persistent dummy
8 years ago
Ethan Buchman
debbf122db
add version/block/config to Info. add header to BeginBlock
8 years ago
Jae Kwon
7998ba668a
QuitService->BaseService
8 years ago
Ethan Buchman
42e4f4693c
client: safe error handling
8 years ago
Ethan Buchman
3329868a1d
grpc fix
8 years ago
Ethan Buchman
83920a1c37
fixes from review
8 years ago
Ethan Buchman
1b13f14e08
consolidate example tests; grpc fail fast
8 years ago
Ethan Buchman
d3bdb49aae
remote_client -> socket_client; use logger
8 years ago
Ethan Buchman
49a67aee8a
add circle.yml. disable js test
8 years ago
Ethan Buchman
732634112b
run grpc finishAsyncCall in go routine
8 years ago
Ethan Buchman
2c21c7be89
call reqRes.SetDone in grpc client
9 years ago
Ethan Buchman
516a929e5f
some cleanup
9 years ago
Ethan Buchman
1ab3c74718
silly grpc client
9 years ago