Anton Kaliaev
db69845ded
introduce errors pkg
8 years ago
Anton Kaliaev
ff90224ba8
fix "Expected map but got type string" error
Error from tendermint:
```
panic: Expected map but got type string [recovered]
panic: Expected map but got type string
goroutine 82 [running]:
testing.tRunner.func1(0xc420464000)
/usr/local/go/src/testing/testing.go:622 +0x29d
panic(0xa1fda0, 0xc4201eecd0)
/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/tendermint/tendermint/rpc/test.waitForEvent(0xc420464000, 0xc420064000, 0xae6fae, 0x8, 0xae6f01, 0xc2e998, 0xc2e9a0)
/home/vagrant/go/src/github.com/tendermint/tendermint/rpc/test/helpers.go:179 +0x53a
github.com/tendermint/tendermint/rpc/test.TestWSNewBlock(0xc420464000)
/home/vagrant/go/src/github.com/tendermint/tendermint/rpc/test/client_test.go:190 +0x12e
testing.tRunner(0xc420464000, 0xc2e9a8)
/usr/local/go/src/testing/testing.go:657 +0x96
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:697 +0x2ca
```
8 years ago
Anton Kaliaev
720b74d89e
read from ErrorsCh also
8 years ago
Anton Kaliaev
05e1a22d5b
encode params before sending in JSONRPC
8 years ago
Anton Kaliaev
cf11e6ba65
add CHANGELOG
8 years ago
Anton Kaliaev
1ddb60b6e7
refactor jsonParamsToArgs
Suggested in https://github.com/tendermint/go-rpc/pull/9#discussion_r105098390
8 years ago
Ethan Buchman
5420254b36
changelog: add prehistory
8 years ago
Ethan Buchman
55b3c22d99
publish.sh to push build to s3
8 years ago
Anton Kaliaev
fed84f875c
fix jsonParamsToArgsWS index error
Error from tendermint:
```
panic: runtime error: index out of range
goroutine 82 [running]:
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-rpc/server.jsonParamsToArgsWS(0xc4200960e0, 0xc42024d4a0, 0xc420215380, 0x3, 0x0, 0x0, 0xc420215383, 0x9, 0xc42024d4a0, 0xf1ecc0, ...)
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-rpc/server/handlers.go:184 +0x654
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-rpc/server.(*wsConnection).readRoutine(0xc4201fd0e0)
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-rpc/server/handlers.go:496 +0x3a9
created by github.com/tendermint/tendermint/vendor/github.com/tendermint/go-rpc/server.(*wsConnection).OnStart
/home/vagrant/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-rpc/server/handlers.go:377 +0x45
```
8 years ago
Anton Kaliaev
1842e03315
revert using local import
this breaks the client's code (e.g. tendermint)
8 years ago
Anton Kaliaev
d033cd54b8
add editorconfig
8 years ago
Anton Kaliaev
2dc6ab3896
use golang default if an arg is missing (Refs #7 )
8 years ago
Anton Kaliaev
6d66cc68ed
make sure we are using correct server
also remove it afterwards
8 years ago
Anton Kaliaev
51d760f29f
use local import for testing
8 years ago
Anton Kaliaev
a4154e76c5
update docker readme [ci skip] [circleci skip]
8 years ago
Anton Kaliaev
524f3b2d57
Merge pull request #429 from tendermint/update-docker-image-for-0.9.0
update Dockerfile for 0.9.0 release
8 years ago
Anton Kaliaev
d474baeeea
update Dockerfile for 0.9.0 release
8 years ago
Anton Kaliaev
22ba8bdef8
fix Call method signature in HTTPClient interface
8 years ago
Anton Kaliaev
d43e3db978
fix circleci
8 years ago
Anton Kaliaev
26ccb4c94a
remove private call methods
Q: what was the reason to create them?
8 years ago
Anton Kaliaev
c128957723
"must remove file for test to run again" - no way I am doing this by hands, too lazy :)
8 years ago
Anton Kaliaev
66867bf949
remove "rpc" prefix from package imports
8 years ago
Anton Kaliaev
e1d5873bdf
support key-value params in JSONRPC (Refs #1 )
More changes:
- remove Client interface (reason: empty)
- introduce HTTPClient interface, which can be used for both ClientURI
and ClientJSONRPC clients (so our users don't have to create their own) (Refs #8 )
- rename integration tests script to `integration_test.sh`
- do not update deps on `get_deps`
8 years ago
Anton Kaliaev
b03facd828
add Dockerfile
8 years ago
rigelrozanski
4e743649be
glide update
8 years ago
rigelrozanski
fab518fc98
flag fix, glide update
squash
8 years ago
rigelrozanski
fa609366d4
melekes change request
8 years ago
rigelrozanski
569fd474c2
added use of Cobra CLI
squash
8 years ago
Ethan Buchman
d4f6254551
Merge pull request #426 from tendermint/release-0.9.0
Release 0.9.0
8 years ago
Ethan Buchman
e31ed6dc2f
Merge branch 'master' into release-0.9.0 (woops)
8 years ago
Ethan Buchman
8449e9794a
CHANGELOG
8 years ago
Ethan Buchman
07a9242dba
update glide
8 years ago
Ethan Buchman
097da55a2c
test/p2p: shellcheck
8 years ago
Ethan Buchman
97a5ed2d1a
Merge pull request #16 from tendermint/develop
v0.4.0
8 years ago
Ethan Buchman
caaafa192b
test/persist: use unix socket for rpc
8 years ago
Ethan Buchman
53d777a2d5
CHANGELOG.md
8 years ago
Ethan Buchman
fc6d22db32
test: better client naming
8 years ago
Ethan Buchman
d58a666445
test/persist: bump sleep to 5 for bound ports release
8 years ago
Ethan Buchman
22d95c7b51
test: docker exec doesnt work on circle
8 years ago
Ethan Buchman
b1cd677711
types: valSet LastProposer->Proposer and Proposer()->GetProposer()
8 years ago
Ethan Buchman
1208296dc0
DialSeeds takes an AddrBook
8 years ago
Ethan Buchman
cfc7fed31c
test/pex: dial_seeds
8 years ago
Ethan Buchman
beb3eda438
fix addrbook start/stop
8 years ago
Ethan Buchman
c94bc2bc2b
DialSeeds takes an addrbook
8 years ago
Ethan Buchman
e4e70ece3f
test: fix docker and apps
8 years ago
Ethan Buchman
0fa34f7f67
fix ProposerSelection by persisting proposer
8 years ago
Ethan Buchman
55602b9be6
failing ProposerSelection test
8 years ago
Ethan Buchman
749df0536f
test/docker: install abci apps first
8 years ago
Ethan Buchman
2037d2631a
fix race
8 years ago
Ethan Buchman
de0153a1c4
consensus: some more informative logging
8 years ago