77 Commits

Author SHA1 Message Date
coffeepots
17b8db7b3c Missing comma on comment 2018-05-23 18:06:32 +01:00
coffeepots
b8bbc25e6a Changed proc order pending forward decl issue 2018-05-23 18:05:38 +01:00
coffeepots
201f31554f Update comments with current issue link 2018-05-23 18:04:16 +01:00
coffeepots
43ccd28d4f Unify jsonmarshal to support both client and server 2018-05-23 18:00:30 +01:00
coffeepots
28aa77582b General refactoring and tidying up 2018-05-23 16:12:00 +01:00
coffeepots
198fb76f42 Refactor marshalling and proc creation, better rpc sig parsing 2018-05-23 14:00:37 +01:00
coffeepots
592acb20c2 Temporarily hide variant object part in lue of improving marshal macro 2018-05-22 20:49:23 +01:00
coffeepots
3878ee0ad0 Implemented signature parsing to create client rpc procs based on params 2018-05-22 20:48:12 +01:00
coffeepots
ff93b18296 Updated path for jsonconverters 2018-05-22 20:47:22 +01:00
coffeepots
234e17801b Refactored processing of params for client 2018-05-22 20:46:19 +01:00
coffeepots
57259ca156 Updated sha3 sig & fix relative import issue (requires nimble install) 2018-05-22 20:45:52 +01:00
coffeepots
4a6db6fbe3 Moved jsonconverters for easier use by client 2018-05-22 20:41:31 +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
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
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
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
50924d1c12 Change inline proc to template 2018-05-09 14:57:45 +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
e6e343ab92 Enforce checks in release and refactor to separate macro 2018-05-08 20:34:28 +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