Commit Graph

589 Commits

Author SHA1 Message Date
coffeepots e39008fe4a Removed extraneous debug output 2018-06-12 19:28:41 +01:00
coffeepots 5dba128947 Add max line read length, WIP changes to handle malformed json 2018-06-12 19:27:51 +01:00
coffeepots 937546b71d Add max line length 2018-06-12 19:26:24 +01:00
coffeepots 93c7a5577e `var` strings only for transport 2018-06-12 18:09:00 +01:00
coffeepots 2a6c1fb89a Remove debug echo 2018-06-12 16:53:13 +01:00
coffeepots 9613fe72a7 Efficiency of `checkGet` improved 2018-06-12 16:51:07 +01:00
coffeepots 1212861547 Add missing RPC test 2018-06-12 09:14:24 +01:00
coffeepots 687c577942 Merge asyncdispatch2 let->var changes 2018-06-12 09:13:02 +01:00
cheatfate 001195341c Fix client.nim for latest changes in asyncdispatch2. 2018-06-12 09:53:48 +03:00
cheatfate 1ff985b468 Fix for latest changes in asyncdispatch2. 2018-06-12 09:49:16 +03:00
coffeepots b32660c1c9 Add module scope chronicles topic 2018-06-11 21:00:30 +01:00
coffeepots da84d95d51 Update .nimble to include chronicles 2018-06-11 19:26:37 +01:00
coffeepots 4c38164688 WIP tests for errors 2018-06-11 19:26:16 +01:00
coffeepots f9d20db511 Add chronicles logging and some custom errors 2018-06-11 18:48:12 +01:00
coffeepots 4daf3353aa
Merge pull request #16 from status-im/asyncdispatch2
Use asyncdispatch2 instead of asyncdispatch.
2018-06-11 09:45:15 +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 5548973168 Restart tests commit. 2018-06-07 21:42:24 +03:00
cheatfate 965b3df3e7 Strip string concatenation from new code. 2018-06-07 19:45:10 +03:00
cheatfate 739d303ccb Fix server creation. 2018-06-07 11:27:44 +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 cc44cd257b Refactor to just `client`, `server` and `jsonmarshal`, add some comments 2018-06-05 14:03:58 +01:00
coffeepots 383654f1f5 `wrapReply` now returns string, includes terminator 2018-06-05 13:29:33 +01:00
coffeepots 53baf0bffc clientdispatch -> client, serverdispatch -> server, more error handling 2018-06-05 11:33:21 +01:00
coffeepots 179a6f6024 Remove concatenation 2018-06-05 11:12:55 +01: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 f8d0050dff
Merge pull request #14 from status-im/RemoveExportOnRpcProcs
Remove export on rpc procs
2018-06-04 15:44:43 +01:00
coffeepots 6bfb4facc2 Remove `var ref` on `rpc` macro and just take ref 2018-06-04 15:34:48 +01:00
coffeepots 622dcc8e5c Update documentation 2018-06-04 15:17:26 +01:00
coffeepots db55114233 Change example to invoke `rpc from within procedure scope 2018-06-04 14:16:35 +01:00
coffeepots 8b1b933d5d Remove export on `rpc` 2018-06-04 14:15:56 +01:00
coffeepots a4dbb5ece4
Merge pull request #11 from status-im/macostest
Add macos testing in Travis.
2018-05-31 17:48:11 +01:00
cheatfate 923141b7bd Add macos tests. 2018-05-31 19:16:48 +03:00
coffeepots 1667119f34 Fix case sensitive import on nix filesystems and reduce name length 2018-05-31 12:02:21 +01:00
coffeepots dd18b760e5 Merge branch 'refactor-to-standalone' of https://github.com/status-im/nim-eth-rpc into refactor-to-standalone 2018-05-30 16:37:34 +01:00
coffeepots 92bae923c9 Split tests into standard client-server, rpc macro tests and ethtests 2018-05-30 16:36:55 +01:00
coffeepots 31d12246bc Just putting first import on a single line 2018-05-30 16:36:55 +01:00
coffeepots 6d72dc5dd0 Remove jsonconverters and internal references to stint 2018-05-30 16:36:55 +01:00
coffeepots a0c1b7db44 Use proper error const 2018-05-30 16:36:55 +01:00
coffeepots 66f9c63f01 Removing unused import, some tidying 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 5d58d972a1 Remove debugging echo 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 42ec728b35 Minor comment updates 2018-05-30 16:36:55 +01:00
coffeepots 77a772adec Reuse symbol on checkGet 2018-05-30 16:36:55 +01:00
coffeepots e591ac2cbd inline 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 b0b0b1372d Split tests into standard client-server, rpc macro tests and ethtests 2018-05-30 16:05:53 +01:00