115 Commits

Author SHA1 Message Date
coffeepots
ca7a1efa97 Remove redundant tests, add more error checks 2018-05-29 13:20:07 +03:00
coffeepots
61fd9e7850 Move checks out of generic procs, refactor expect len to separate proc 2018-05-29 13:20:07 +03:00
coffeepots
fd8c017ef1 Enforce checks in release and refactor to separate macro 2018-05-29 13:20:07 +03:00
coffeepots
444bbc1493 Updated tests to check return type processing 2018-05-29 13:20:07 +03:00
coffeepots
31c9ca9196 Now allows return types in on macro 2018-05-29 13:20:07 +03:00
coffeepots
758653fb62 Remove {.rpc.} macro and merged testing into testrpcmacro 2018-05-29 13:20:07 +03:00
coffeepots
b5afb7e34a Minor comment tidy up 2018-05-29 13:20:07 +03:00
coffeepots
120d29b77c Add input error checking and propagate parameter names for errors 2018-05-29 13:20:07 +03:00
coffeepots
9d392309f5 Add error checking, tidy up code, added bool processing 2018-05-29 13:20:07 +03:00
coffeepots
b4d42709b4 Parse objects by overload 2018-05-29 13:20:07 +03:00
coffeepots
e9baad7e87 Add processing and checking for uintX and intX types and related tests 2018-05-29 13:20:07 +03:00
coffeepots
3292de2477 Add conversion for json -> byte 2018-05-29 13:20:07 +03:00
coffeepots
4336d8b9e8 Added prototype for processing of byte params 2018-05-29 13:20:07 +03:00
coffeepots
dad95a6493 Nested objects with arrays now parse 2018-05-29 13:20:07 +03:00
coffeepots
562eb71ee5 Fix off by one error in runtime check for array length 2018-05-29 13:20:07 +03:00
coffeepots
f4598f563e WIP traversing objects 2018-05-29 13:20:07 +03:00
coffeepots
fdb553687e Added testrpcmacro to test module 2018-05-29 13:20:07 +03:00
coffeepots
8a3aad64d1 Updated paths 2018-05-29 13:20:07 +03:00
coffeepots
1cf3a930b5 Moved rpc macro tests out into separate module 2018-05-29 13:20:07 +03:00
coffeepots
33f0786a0d Updating paths 2018-05-29 13:20:07 +03:00
coffeepots
5e624d0207 Added object support (no nesting yet), also flag for dumping macro gen 2018-05-29 13:20:07 +03:00
coffeepots
53dd7fd270 Stops errors when nimble test is using different backend 2018-05-29 13:20:07 +03:00
coffeepots
5a07bb3f6c Moved rpcclient/rpcserver to more accessible place 2018-05-29 13:20:07 +03:00
coffeepots
a4214de67c Reworked seq/array parameter construction 2018-05-29 13:20:07 +03:00
coffeepots
0ff11d4598 Added some parameters to the procs, more to do 2018-05-29 13:20:07 +03:00
coffeepots
da6ef049ca Updated test to return input data 2018-05-29 13:20:07 +03:00
coffeepots
dd472db933 Added seq, fixed some wrong index bugs 2018-05-29 13:20:07 +03:00
coffeepots
95b1ca78b7 Updated params to array for eth_getBalance 2018-05-29 13:20:07 +03:00
coffeepots
c48167a1cc Arrays now marshalled to native types and other params are prefetched 2018-05-29 13:20:07 +03:00
coffeepots
4acd6b3ee6 Updated multiRemove macro 2018-05-29 13:20:07 +03:00
coffeepots
f15a48b1c2 Initialise ethprocs automatically on import rpcserver 2018-05-29 13:20:07 +03:00
coffeepots
7e790b2a48 Add configuration for appveyor 2018-05-29 13:20:07 +03:00
coffeepots
c5653a8cfd Update tests to run with nimble test 2018-05-29 13:20:07 +03:00
coffeepots
364fa6f031 Updated test to use new on macro 2018-05-29 13:20:07 +03:00
coffeepots
44439fb746 Updated test rpc calls to use new on macro 2018-05-29 13:20:07 +03:00
coffeepots
ad5b20e43b on macro now fetches from params as array as per ethereum rpc standard 2018-05-29 13:20:07 +03:00
coffeepots
0f6aa818e2 Prototype 'on' transformation - work in progress 2018-05-29 13:20:07 +03:00
coffeepots
eb3bb2a47b Re-add serve 2018-05-29 13:20:07 +03:00
coffeepots
312a4bb011 Fix wrong path 2018-05-29 13:20:07 +03:00
coffeepots
5317300d45 Add some testing for custom rpc calls 2018-05-29 13:20:07 +03:00
coffeepots
49f2d4e32a 'Fix' template issue reporting argument error, remove unused isNull proc 2018-05-29 13:20:07 +03:00
coffeepots
2038c4c15b Migrate registration macros and ethprocs to servertypes 2018-05-29 13:20:07 +03:00
coffeepots
67eb771b4b WIP dummy async RPC calls 2018-05-29 13:20:07 +03:00
coffeepots
ffc7a6378b Make rpc transform use async 2018-05-29 13:20:07 +03:00
coffeepots
2f7b91c035 Raise more errors, id is counter, simplify generateCalls 2018-05-29 13:20:07 +03:00
alexm-status
57a85c8f60
Update README.md 2018-05-27 22:03:25 -07:00
coffeepots
93296d40c1 Added build badges 2018-04-26 19:52:55 +01:00
Zahary Karadjov
d34f17a6de Reviewed all modules 2018-04-11 15:34:49 +03:00
Zahary Karadjov
12d45a7e08 setup nimble test 2018-04-11 14:48:34 +03:00
coffeepots
9ebf3990fd Merged tests into one file to run with CI 2018-04-10 18:41:12 +01:00