75 Commits

Author SHA1 Message Date
coffeepots
cf44cc552d Remove DSL, add router and simplify server 2018-07-06 17:47:43 +01:00
coffeepots
b968d96923 Fix to allow compilation of testerrors 2018-07-05 12:40:11 +01:00
coffeepots
2c92487e1a Remove redundant "done" echo 2018-06-26 16:29:09 +01:00
coffeepots
c4b27e40bf Add http test 2018-06-26 16:28:49 +01:00
coffeepots
d36da9d14c Added testing, uses http client and server 2018-06-26 15:45:40 +01:00
coffeepots
79e756bd3c Update tests to use rpcStreamClient 2018-06-22 19:06:03 +01:00
coffeepots
09b55a5b32 More error checking (WIP) 2018-06-21 18:40:49 +01:00
coffeepots
6b619472f3 Test errors WIP 2018-06-19 18:22:13 +01:00
coffeepots
49afd6ee76 Add simple test for HTTP (WIP) 2018-06-19 18:22:01 +01:00
coffeepots
e42864ef7a Remove testerrors from tests whilst fixing exceptions in rpcs 2018-06-19 18:18:48 +01:00
coffeepots
8d1174b136 Updated paths to use rpcserver now that streamservers are in there 2018-06-19 18:17:56 +01:00
coffeepots
81d52cb3cb Add validated hex string type 2018-06-18 18:31:11 +01:00
coffeepots
a5467063b7 Add simple validation for hex strings to web3_sha3 2018-06-15 20:35:49 +01:00
coffeepots
d789ca6fee Utilities for validating ethereum values 2018-06-15 20:33:29 +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
e5c92dd207 Fix "cannot find init" as nimcrypto wasn't visible in ethprocs 2018-06-14 17:02:17 +01:00
coffeepots
bb07650f33 Update tests to use streamserver 2018-06-14 16:55:10 +01:00
coffeepots
2f7580f082 Update to use rpc folder 2018-06-14 16:53:24 +01:00
coffeepots
a79351cbd7 Re-added malformed json error 2018-06-13 19:31:00 +01:00
coffeepots
9945228bf0 Add testerrors to all tests 2018-06-13 19:19:38 +01:00
coffeepots
ba53bd1237 Update errors to check results are as expected 2018-06-13 19:19:24 +01:00
coffeepots
6701fc7723 Improve tests, add check for invalid json 2018-06-13 19:13:04 +01:00
coffeepots
4143c2cc41 Debug func for getting next id, assert instead of if 2018-06-13 19:12:29 +01:00
coffeepots
8781bbbf4e Update testerrors ready for async tests (TODO) 2018-06-12 19:30:14 +01:00
coffeepots
e39008fe4a Removed extraneous debug output 2018-06-12 19:28:41 +01:00
coffeepots
93c7a5577e var strings only for transport 2018-06-12 18:09:00 +01:00
coffeepots
1212861547 Add missing RPC test 2018-06-12 09:14:24 +01:00
coffeepots
4c38164688 WIP tests for errors 2018-06-11 19:26:16 +01:00
cheatfate
2b12f3699a Added reviews requirements. 2018-06-10 04:09:51 +03:00
cheatfate
7607cc4106 Fix connect(). 2018-06-08 09:31: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
1ea23b4df2 Remove shared server 2018-06-05 10:43:46 +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
1667119f34 Fix case sensitive import on nix filesystems and reduce name length 2018-05-31 12:02:21 +01:00
coffeepots
92bae923c9 Split tests into standard client-server, rpc macro tests and ethtests 2018-05-30 16:36:55 +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
df83872a74 Add tests for stint return values and parameters 2018-05-29 13:20:07 +03:00
coffeepots
995f268ddf Fix for zero parameter test 2018-05-29 13:20:07 +03:00
coffeepots
b4c31d5ada add test for return statement within on macro 2018-05-29 13:20:07 +03:00
coffeepots
0a2b4fa1d8 rpcserver must be before asyncdispatch for correct parsing 2018-05-29 13:20:07 +03:00
coffeepots
a9456bd22c Remove transport utils module as it's unused 2018-05-29 13:20:07 +03:00