257 Commits

Author SHA1 Message Date
coffeepots
5ea1451f23 Update .nimble so install directory matches 2018-05-22 20:42:14 +01:00
coffeepots
4a6db6fbe3 Moved jsonconverters for easier use by client 2018-05-22 20:41:31 +01:00
coffeepots
abb88c1abc Export ethtypes 2018-05-22 20:40:50 +01:00
coffeepots
31246edbd4 on is now rpc for now to fix compilation issue 2018-05-22 00:13:00 +01:00
coffeepots
fa113d1a84 Client forward decls for checking client calls 2018-05-18 18:10:21 +01:00
coffeepots
befd6019c7 Refactor Ethereum types to separate module 2018-05-18 18:06:31 +01:00
coffeepots
5bd3670aef Refactor Ethereum rpc types to separate module 2018-05-18 17:55:13 +01:00
coffeepots
1a062f0946 Add check for UInt256 strings being too long 2018-05-17 19:51:33 +01:00
coffeepots
e19aa96755 Remove finished UInt256 TODO, add string return for web3_client 2018-05-17 19:36:45 +01:00
coffeepots
338aa589d9 Add tests for stint return values and parameters 2018-05-17 19:14:31 +01:00
coffeepots
55449b1193 Fix for zero parameter test 2018-05-17 19:13:44 +01:00
coffeepots
182dd02d80 Changed stint values to take and output strings 2018-05-17 19:13:12 +01:00
coffeepots
4e4b853365 fix stint to json to output hex rather than decimal 2018-05-17 19:11:47 +01:00
coffeepots
36cd28d077 output proc names changed from alpha -> alphanumeric 2018-05-17 15:23:49 +01:00
coffeepots
2fef44ff88 add test for return statement within on macro 2018-05-16 23:16:20 +01:00
coffeepots
39e987c082 fix double json conversion 2018-05-16 23:15:46 +01:00
coffeepots
67779bf428 Allow use of return in on macro rpcs 2018-05-16 23:14:43 +01:00
coffeepots
414c7dd1f2 process stints to json strings rather than arrays 2018-05-15 19:06:51 +01:00
coffeepots
9c1944977e rpcserver must be before asyncdispatch for correct parsing 2018-05-15 19:06:05 +01:00
coffeepots
ebacff63a6 Remove transport utils module as it's unused 2018-05-15 18:49:27 +01:00
coffeepots
2154047fd5 Base bytes on bytePairs. 2018-05-15 18:16:55 +01:00
coffeepots
efb71fce2c Extra checking for client receiving malformed & incorrect json 2018-05-15 17:58:16 +01:00
coffeepots
68333bd30a Update stint parse to use latest parse interface 2018-05-14 16:42:05 +01:00
coffeepots
ffb80ac04d fix result not found by changing import order... 2018-05-14 16:31:32 +01:00
coffeepots
4d1d82e5d8 Add StUInt256 json handling, explicitly pass type in param setup. 2018-05-14 16:30:14 +01:00
coffeepots
d8b68e14f7 add ref int 2018-05-10 21:52:02 +01:00
coffeepots
1eb53246ce Add type constraints and comments 2018-05-10 14:57:07 +01:00
coffeepots
7d93ca6168 Fixed parsing issue with forward decls 2018-05-10 14:09:44 +01:00
coffeepots
a9715050ae Added some more simple tests 2018-05-09 17:31:28 +01:00
coffeepots
50479cbbdc Update comment to be clearer 2018-05-09 16:17:33 +01:00
coffeepots
ae182907f2 Add stint requirement 2018-05-09 15:08:03 +01:00
coffeepots
b6db0f151e Fix undeclared identifier: result in myProc custom rpc 2018-05-09 14:58:58 +01:00
coffeepots
ab77d3a371 Don't export bytes iterator for stint types 2018-05-09 14:58:21 +01:00
coffeepots
50924d1c12 Change inline proc to template 2018-05-09 14:57:45 +01:00
coffeepots
7e1fe1800a Use rpcserver import 2018-05-09 14:51:19 +01:00
coffeepots
fd835749ea Refactor errors 2018-05-09 14:26:28 +01:00
coffeepots
9fd13fd121 Use json converters, special case for rpc's returning JsonNode 2018-05-09 13:08:15 +01:00
coffeepots
aa99f1076d Add converters to and from common stint types and byte 2018-05-09 13:07:32 +01:00
coffeepots
e74dfdce62 Remove macro for replacing strings in proc name 2018-05-09 09:51:51 +01:00
coffeepots
1ac58430f0 Don't call multiRemove macro directly from macro 2018-05-08 20:48:28 +01:00
coffeepots
ff078478bd Remove debug echo 2018-05-08 20:42:16 +01:00
coffeepots
c9a9eb90ce Remove redundant tests, add more error checks 2018-05-08 20:36:13 +01:00
coffeepots
81909360a6 Move checks out of generic procs, refactor expect len to separate proc 2018-05-08 20:35:30 +01:00
coffeepots
e6e343ab92 Enforce checks in release and refactor to separate macro 2018-05-08 20:34:28 +01:00
coffeepots
2c8faae0b5 Updated tests to check return type processing 2018-05-08 17:30:05 +01:00
coffeepots
7355543147 Now allows return types in on macro 2018-05-08 17:29:23 +01:00
coffeepots
d96f984d5c Remove {.rpc.} macro and merged testing into testrpcmacro 2018-05-08 16:26:13 +01:00
coffeepots
d0c34ba834 Minor comment tidy up 2018-05-08 16:03:28 +01:00
coffeepots
9b4e373633 Add input error checking and propagate parameter names for errors 2018-05-08 15:55:31 +01:00
coffeepots
f49f011d88 Add error checking, tidy up code, added bool processing 2018-05-08 15:37:23 +01:00