41 Commits

Author SHA1 Message Date
coffeepots
5da9ce7881 Make all tests use port 8545 to check connection closing between tests 2018-09-13 19:27:51 +01:00
coffeepots
f0eb9693af Use different port for socket test 2018-09-13 18:46:15 +01:00
coffeepots
0ba96afb13 Update socket test to use closeWait 2018-09-13 18:06:46 +01:00
Zahary Karadjov
642fdd591f fix the package structure to make Nimble happy 2018-07-20 19:34:10 +03:00
coffeepots
6466b7e778 Update tests with newRpcSocketClient 2018-07-12 14:08:43 +01:00
coffeepots
e3a7ffd121 Merge rpcsocket into rpcserver 2018-07-12 09:43:44 +01:00
coffeepots
13ae592738 Rename sockets.nim to socket.nim and rpcsockets.nim to rpcsocket.nim 2018-07-11 10:40:20 +01:00
coffeepots
b218529d2d Remove generics from server and update sockettransport 2018-07-11 10:19:13 +01:00
coffeepots
cf44cc552d Remove DSL, add router and simplify server 2018-07-06 17:47:43 +01:00
coffeepots
79e756bd3c Update tests to use rpcStreamClient 2018-06-22 19:06:03 +01:00
coffeepots
8d1174b136 Updated paths to use rpcserver now that streamservers are in there 2018-06-19 18:17:56 +01:00
coffeepots
746232a928 Revert "Rename rpcstreamserver and newStreamServer to rpcsocketserver and newSocketServer"
This reverts commit 0dfb4be55c4cbf852370b50971ba89f6539bf921.
2018-06-15 11:11:10 +01:00
coffeepots
0dfb4be55c Rename rpcstreamserver and newStreamServer to rpcsocketserver and newSocketServer 2018-06-15 10:34:24 +01:00
coffeepots
bb07650f33 Update tests to use streamserver 2018-06-14 16:55:10 +01:00
cheatfate
2b12f3699a Added reviews requirements. 2018-06-10 04:09:51 +03:00
cheatfate
aea1798897 Add close() procedure for RpcServer.
Fixed tests to stop/close server.
2018-06-07 11:20:33 +03:00
cheatfate
cbfe945fff Use asyncdispatch2 instead of asyncdispatch. 2018-06-07 10:02:14 +03:00
coffeepots
efeb972763 Update tests to use async better, no shared server 2018-06-05 10:45:54 +01:00
coffeepots
6bfb4facc2 Remove var ref on rpc macro and just take ref 2018-06-04 15:34:48 +01:00
coffeepots
db55114233 Change example to invoke `rpc from within procedure scope 2018-06-04 14:16:35 +01:00
coffeepots
cdcd5204e3 Split tests into client-server test and ethprocs test 2018-05-30 16:36:55 +01:00
coffeepots
964436c9e3 Move ethprocs and ethtypes into tests, remove external imports 2018-05-30 16:36:55 +01:00
coffeepots
7aff489622 Move ethcallsigs to tests to confirm stand alone rpc setup 2018-05-30 16:36:55 +01:00
coffeepots
8b007ff2f4 Update comments and change web3_sha3 test to use example in wiki 2018-05-29 13:20:07 +03:00
coffeepots
d1470bf212 Updated test to use new generated client procs 2018-05-29 13:20:07 +03:00
coffeepots
ce86719f4c on is now rpc for now to fix compilation issue 2018-05-29 13:20:07 +03:00
coffeepots
995f268ddf Fix for zero parameter test 2018-05-29 13:20:07 +03:00
coffeepots
14ef63294e fix result not found by changing import order... 2018-05-29 13:20:07 +03:00
coffeepots
34a89b6bb9 Update comment to be clearer 2018-05-29 13:20:07 +03:00
coffeepots
68dc4351d1 Fix undeclared identifier: result in myProc custom rpc 2018-05-29 13:20:07 +03:00
coffeepots
758653fb62 Remove {.rpc.} macro and merged testing into testrpcmacro 2018-05-29 13:20:07 +03:00
coffeepots
8a3aad64d1 Updated paths 2018-05-29 13:20:07 +03:00
coffeepots
da6ef049ca Updated test to return input data 2018-05-29 13:20:07 +03:00
coffeepots
f15a48b1c2 Initialise ethprocs automatically on import rpcserver 2018-05-29 13:20:07 +03:00
coffeepots
c5653a8cfd Update tests to run with nimble test 2018-05-29 13:20:07 +03:00
coffeepots
364fa6f031 Updated test to use new on macro 2018-05-29 13:20:07 +03:00
coffeepots
eb3bb2a47b Re-add serve 2018-05-29 13:20:07 +03:00
coffeepots
5317300d45 Add some testing for custom rpc calls 2018-05-29 13:20:07 +03:00
coffeepots
67eb771b4b WIP dummy async RPC calls 2018-05-29 13:20:07 +03:00
Zahary Karadjov
d34f17a6de Reviewed all modules 2018-04-11 15:34:49 +03:00
coffeepots
9ebf3990fd Merged tests into one file to run with CI 2018-04-10 18:41:12 +01:00