132 Commits

Author SHA1 Message Date
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
8b007ff2f4 Update comments and change web3_sha3 test to use example in wiki 2018-05-29 13:20:07 +03:00
coffeepots
e302f6439b Update web3_sha3 to use nimcrypto 2018-05-29 13:20:07 +03:00
coffeepots
750d1c5e79 cryptoutils is no longer needed 2018-05-29 13:20:07 +03:00
coffeepots
b92869a2cd Remove ethcalls as ethcallsigs supplants it 2018-05-29 13:20:07 +03:00
coffeepots
42b63d86c9 Missing comma on comment 2018-05-29 13:20:07 +03:00
coffeepots
1c3eda633e Changed proc order pending forward decl issue 2018-05-29 13:20:07 +03:00
coffeepots
28d4641010 Update comments with current issue link 2018-05-29 13:20:07 +03:00
coffeepots
aa92e5f1d9 Unify jsonmarshal to support both client and server 2018-05-29 13:20:07 +03:00
coffeepots
18bf86d203 General refactoring and tidying up 2018-05-29 13:20:07 +03:00
coffeepots
b5d4b24ad2 Refactor marshalling and proc creation, better rpc sig parsing 2018-05-29 13:20:07 +03:00
coffeepots
d1470bf212 Updated test to use new generated client procs 2018-05-29 13:20:07 +03:00
coffeepots
0d607825fa Temporarily hide variant object part in lue of improving marshal macro 2018-05-29 13:20:07 +03:00
coffeepots
4d292e033b Implemented signature parsing to create client rpc procs based on params 2018-05-29 13:20:07 +03:00
coffeepots
154489a411 Updated path for jsonconverters 2018-05-29 13:20:07 +03:00
coffeepots
a7e6448d3c Refactored processing of params for client 2018-05-29 13:20:07 +03:00
coffeepots
7ef68e8152 Updated sha3 sig & fix relative import issue (requires nimble install) 2018-05-29 13:20:07 +03:00
coffeepots
981526a966 export ethtypes in server 2018-05-29 13:20:07 +03:00
coffeepots
99de2c8062 Update .nimble so install directory matches 2018-05-29 13:20:07 +03:00
coffeepots
5fe14db4eb Moved jsonconverters for easier use by client 2018-05-29 13:20:07 +03:00
coffeepots
10cd4efb76 Export ethtypes 2018-05-29 13:20:07 +03:00
coffeepots
ce86719f4c on is now rpc for now to fix compilation issue 2018-05-29 13:20:07 +03:00
coffeepots
867809f16d Client forward decls for checking client calls 2018-05-29 13:20:07 +03:00
coffeepots
52c834122a Refactor Ethereum types to separate module 2018-05-29 13:20:07 +03:00
coffeepots
59b9ad7e8c Refactor Ethereum rpc types to separate module 2018-05-29 13:20:07 +03:00
coffeepots
b17134f636 Add check for UInt256 strings being too long 2018-05-29 13:20:07 +03:00
coffeepots
4eb7cdb914 Remove finished UInt256 TODO, add string return for web3_client 2018-05-29 13:20:07 +03:00
coffeepots
df83872a74 Add tests for stint return values and parameters 2018-05-29 13:20:07 +03:00
coffeepots
995f268ddf Fix for zero parameter test 2018-05-29 13:20:07 +03:00
coffeepots
6e4309f565 Changed stint values to take and output strings 2018-05-29 13:20:07 +03:00
coffeepots
89ece166db fix stint to json to output hex rather than decimal 2018-05-29 13:20:07 +03:00
coffeepots
e125d7883e output proc names changed from alpha -> alphanumeric 2018-05-29 13:20:07 +03:00
coffeepots
b4c31d5ada add test for return statement within on macro 2018-05-29 13:20:07 +03:00
coffeepots
206abd8ae8 fix double json conversion 2018-05-29 13:20:07 +03:00
coffeepots
fad4e4a018 Allow use of return in on macro rpcs 2018-05-29 13:20:07 +03:00
coffeepots
c3b4a8c0ac process stints to json strings rather than arrays 2018-05-29 13:20:07 +03:00
coffeepots
0a2b4fa1d8 rpcserver must be before asyncdispatch for correct parsing 2018-05-29 13:20:07 +03:00
coffeepots
a9456bd22c Remove transport utils module as it's unused 2018-05-29 13:20:07 +03:00
coffeepots
8c7290c0fe Base bytes on bytePairs. 2018-05-29 13:20:07 +03:00
coffeepots
b98d0bca9c Extra checking for client receiving malformed & incorrect json 2018-05-29 13:20:07 +03:00
coffeepots
1f645f1637 Update stint parse to use latest parse interface 2018-05-29 13:20:07 +03:00
coffeepots
14ef63294e fix result not found by changing import order... 2018-05-29 13:20:07 +03:00