51 Commits

Author SHA1 Message Date
coffeepots
e19aa96755 Remove finished UInt256 TODO, add string return for web3_client 2018-05-17 19:36:45 +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
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
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
68333bd30a Update stint parse to use latest parse interface 2018-05-14 16:42:05 +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
ab77d3a371 Don't export bytes iterator for stint types 2018-05-09 14:58:21 +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
81909360a6 Move checks out of generic procs, refactor expect len to separate proc 2018-05-08 20:35:30 +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
coffeepots
5c7d339c21 Parse objects by overload 2018-05-08 11:51:24 +01:00
coffeepots
e96c364fdf Add processing and checking for uintX and intX types and related tests 2018-05-03 22:40:28 +01:00
coffeepots
75d41585d0 Add conversion for json -> byte 2018-05-03 20:20:10 +01:00
coffeepots
0198cf680b Added prototype for processing of byte params 2018-05-02 23:12:07 +01:00
coffeepots
e2d2e7402c Nested objects with arrays now parse 2018-05-02 16:21:05 +01:00
coffeepots
7e0abead63 Fix off by one error in runtime check for array length 2018-05-01 20:59:10 +01:00
coffeepots
e446b8eea8 WIP traversing objects 2018-05-01 20:32:28 +01:00
coffeepots
117445858c Added object support (no nesting yet), also flag for dumping macro gen 2018-04-26 19:35:57 +01:00
coffeepots
b0cd557d3e Reworked seq/array parameter construction 2018-04-25 19:18:42 +01:00
coffeepots
46cb9e416b Added some parameters to the procs, more to do 2018-04-24 19:38:25 +01:00
coffeepots
e8a7f34289 Added seq, fixed some wrong index bugs 2018-04-24 19:21:51 +01:00
coffeepots
7ba3841495 Updated params to array for eth_getBalance 2018-04-24 17:37:31 +01:00
coffeepots
9674cac471 Arrays now marshalled to native types and other params are prefetched 2018-04-24 17:37:01 +01:00
coffeepots
641ee92aa1 Updated multiRemove macro 2018-04-24 16:28:01 +01:00
coffeepots
ae2a28ac8c Updated test rpc calls to use new on macro 2018-04-24 13:42:39 +01:00
coffeepots
edf214bc4f on macro now fetches from params as array as per ethereum rpc standard 2018-04-24 13:41:59 +01:00
coffeepots
961702e8e2 Prototype 'on' transformation - work in progress 2018-04-20 21:19:08 +01:00
coffeepots
04e5765a65 Migrate registration macros and ethprocs to servertypes 2018-04-12 18:48:46 +01:00
coffeepots
af45820594 Make rpc transform use async 2018-04-11 20:08:12 +01:00
Zahary Karadjov
d34f17a6de Reviewed all modules 2018-04-11 15:34:49 +03:00
coffeepots
c8fa9eac7e Update web3_sha3 to use nimcrypto 2018-03-27 15:08:31 +01:00
coffeepots
ff4e5b8f7d Minor updates 2018-03-22 17:29:31 +00:00
coffeepots
6dc45a9f9d RPC macro now builds compiletime list for automatic server registration 2018-03-22 17:28:34 +00:00