Commit Graph

225 Commits

Author SHA1 Message Date
sc0Vu
297db091f7 Add json rp method tests. 2018-02-07 15:00:11 +08:00
sc0Vu
725541a37f Rename Web3\Formatters\Integer to Web3\Formatters\IntegerFormatter 2018-02-07 14:26:41 +08:00
sc0Vu
e9b03bcef4 Add Contract tests. 2018-02-07 13:34:32 +08:00
sc0Vu
49e19415b3 Add Eth tests. 2018-02-07 11:48:37 +08:00
sc0Vu
86b70f26c6 Add Net tests. 2018-02-07 11:45:08 +08:00
sc0Vu
aead0b3c75 Add Personal tests. 2018-02-07 11:40:51 +08:00
sc0Vu
82087c92ce Add Shh tests. 2018-02-07 11:21:55 +08:00
sc0Vu
9e75e523be Add Web3 tests. 2018-02-07 11:13:55 +08:00
sc0Vu
718a913902 Fix json method to string and add tests. 2018-02-07 10:53:10 +08:00
sc0Vu
b59a60f17e isAddress test 2018-02-07 10:21:20 +08:00
sc0Vu
9ad27c527e Add tests. 2018-02-06 18:12:21 +08:00
sc0Vu
f231b23bb9 Fix toBn bug
Fix $bn not define when call toBn with BigNumber instance.
2018-02-06 18:05:55 +08:00
sc0Vu
5eb6015bf3 shh_getMessages 2018-01-29 16:48:29 +08:00
sc0Vu
27277d2424 shh_getFilterChanges 2018-01-29 16:42:32 +08:00
sc0Vu
0395562470 shh_uninstallFilter 2018-01-29 16:33:38 +08:00
sc0Vu
b39c22decd ssh_newFilter 2018-01-29 16:24:42 +08:00
sc0Vu
f83a9c6c90 Comment tests.
Because ganache-cli only support shh_version, comment tests.
2018-01-26 17:57:35 +08:00
sc0Vu
078f2b1d80 typo 2018-01-26 17:54:11 +08:00
sc0Vu
c1ae5b7b2d shh_post 2018-01-26 17:50:12 +08:00
sc0Vu
f5286c0398 shh_addToGroup 2018-01-26 17:27:55 +08:00
sc0Vu
f6a7ffebdb shh_newGroup 2018-01-26 17:25:04 +08:00
sc0Vu
647da46e09 shh_hasIdentity 2018-01-26 17:18:58 +08:00
sc0Vu
2d394c825c shh_newIdentity 2018-01-26 16:48:58 +08:00
sc0Vu
cca1b82903 Shh object. 2018-01-26 16:14:02 +08:00
sc0Vu
ed57c92446 Change utils::toHex. 2018-01-25 11:49:21 +08:00
sc0Vu
e130d45068 Quantity formatter test. 2018-01-24 12:25:01 +08:00
sc0Vu
b1318bb0d2 Decode contract call return. 2018-01-22 12:12:04 +08:00
sc0Vu
ee114fe7d1 Fix contract test. 2018-01-22 09:33:58 +08:00
Kuan-Cheng,Lai
49dd1e9043
Merge pull request #37 from sc0Vu/contract-getData
Contract get data
2018-01-21 20:35:58 +08:00
sc0Vu
bb43d04068 getData 2018-01-21 20:30:51 +08:00
sc0Vu
d52a8ddfa0 Add test for unlockAccount with duration. 2018-01-21 16:20:53 +08:00
sc0Vu
14afaf9428 Ethabi decode params. 2018-01-19 17:51:53 +08:00
sc0Vu
ee286e9784 Add encodeParameter test. 2018-01-18 11:39:28 +08:00
sc0Vu
b16a8f9b9a Fix: Non-static method Web3\Contracts\Ethabi::encodeEventSignature() should not be called statically 2018-01-12 18:05:52 +08:00
sc0Vu
0e71553343 Add coinbase and fix unit test of personal api. 2018-01-12 16:49:50 +08:00
sc0Vu
0a4060e6dd Unit test of eth apis. 2018-01-12 16:17:59 +08:00
sc0Vu
596a3599de Personal api unlockAccount unit test. 2018-01-12 16:11:47 +08:00
sc0Vu
ad91024dfa Eth api getFilterChanges unit test. 2018-01-12 16:06:26 +08:00
sc0Vu
a2d1ab535c Eth api uninstall unit test. 2018-01-12 16:03:18 +08:00
sc0Vu
ea150f7958 Eth api getCompilers unit test. 2018-01-12 16:01:55 +08:00
sc0Vu
5a9bd4f8c0 Eth api estimateGas unit test. 2018-01-12 16:00:02 +08:00
sc0Vu
a413aa4da4 Eth getUncleCountByBlockNumber output formatter. 2018-01-12 15:57:21 +08:00
sc0Vu
f8d005dae1 Eth getUncleCountByHash output formatter. 2018-01-12 15:56:10 +08:00
sc0Vu
808134f19f Eth getTransactionCountByNumber output formatter. 2018-01-12 15:54:44 +08:00
sc0Vu
3d8b0d3264 Eth getTransactionCountByHash output formatter. 2018-01-12 15:53:53 +08:00
sc0Vu
b575e68a69 Eth getTransactionCount output formatter. 2018-01-12 15:51:27 +08:00
sc0Vu
52c1774c9c Eth getBalance output formatter. 2018-01-12 15:48:15 +08:00
sc0Vu
9aec83ed6c Eth blockNumber output formatter. 2018-01-12 15:46:39 +08:00
sc0Vu
828f554eb6 Eth gasPrice output formatter. 2018-01-12 15:45:20 +08:00
sc0Vu
04c5ac24f6 Eth hashrate output formatter. 2018-01-12 15:42:43 +08:00
sc0Vu
7b5543138b Change host. 2018-01-12 15:40:13 +08:00
sc0Vu
24e5074722 Contract estimateGas method. 2018-01-12 15:16:31 +08:00
sc0Vu
4d3ed88b7b Remove boolean formatter. 2018-01-12 12:22:32 +08:00
sc0Vu
1513023aab Eth apis. 2018-01-12 12:11:33 +08:00
sc0Vu
cf5288774c Personal apis. 2018-01-12 11:11:09 +08:00
sc0Vu
34647e7fdf Web3 apis. 2018-01-12 11:07:36 +08:00
sc0Vu
e6adbdd303 Web3 apis and test. 2018-01-12 10:51:25 +08:00
sc0Vu
b9a8bccfb9 Eth batch test. 2018-01-11 16:50:05 +08:00
sc0Vu
2baac410de Rename address formatter. 2018-01-11 16:34:24 +08:00
sc0Vu
e680f1adaf Personal apis. 2018-01-11 16:30:54 +08:00
sc0Vu
ee8db87fdf Input formatters for each method. 2018-01-11 13:03:39 +08:00
sc0Vu
50a6e4d2a9 Unit api test. 2018-01-05 18:16:25 +08:00
sc0Vu
aec4403cc8 Net api unit test. 2018-01-05 17:43:35 +08:00
sc0Vu
5eed308ccd Personal api unit test. 2018-01-05 17:01:08 +08:00
sc0Vu
d241b04587 Web3 unit test. 2018-01-05 16:54:18 +08:00
sc0Vu
0f59ac9223 CallValidator. 2018-01-03 14:51:30 +08:00
sc0Vu
6c1a0e35fe Contract call method 2018-01-02 16:43:00 +08:00
sc0Vu
b7e73c47e4 Fix function signature. 2018-01-02 16:28:34 +08:00
sc0Vu
591e88d4cf Add bytecode. 2018-01-02 14:08:01 +08:00
sc0Vu
c67ec3ccaa Contract send. 2018-01-02 11:54:57 +08:00
sc0Vu
b833dfebb7 Contract new method. 2017-12-29 18:23:56 +08:00
sc0Vu
b61d90216e json string to associative array 2017-12-29 16:39:17 +08:00
sc0Vu
518a72b422 Ethabi encodeParameters and SolidityType encode. 2017-12-29 15:34:05 +08:00
sc0Vu
6476c6066c IntegerFormatter 2017-12-28 17:36:09 +08:00
sc0Vu
0513bbe560 Fix toBn hex string problem. 2017-12-28 17:35:19 +08:00
sc0Vu
10a9a66987 toBn. 2017-12-28 14:52:13 +08:00
sc0Vu
ab90423aab isHex. 2017-12-28 11:49:54 +08:00
sc0Vu
c6c5cc9251 Boolean formatter. 2017-12-28 11:04:56 +08:00
sc0Vu
7ba116e5a0 Address formatter. 2017-12-28 10:52:30 +08:00
sc0Vu
e10020d2dc Utils isAddressChecksum 2017-12-27 17:20:01 +08:00
sc0Vu
d299725cdd Utils isAddress 2017-12-27 16:32:23 +08:00
sc0Vu
d957484fdc DynamicBytesType 2017-12-26 17:42:10 +08:00
sc0Vu
3907305f76 UintegerType 2017-12-26 17:35:39 +08:00
sc0Vu
152d956b3d StrType 2017-12-26 17:30:23 +08:00
sc0Vu
0042f0dd82 IntegerType 2017-12-26 17:14:16 +08:00
sc0Vu
55c168736f BytesType 2017-12-26 17:07:46 +08:00
sc0Vu
62a21e4455 BooleanType 2017-12-26 16:52:54 +08:00
sc0Vu
0fa64aecd7 AddressType 2017-12-26 16:46:52 +08:00
sc0Vu
63a748e4dc Patch passing array to jsonToArroy not working. 2017-12-26 14:44:29 +08:00
sc0Vu
59c1876818 Utils jsonToArray 2017-12-26 11:59:16 +08:00
sc0Vu
0fc3e27651 Ethabi test 2017-12-25 12:56:30 +08:00
sc0Vu
89caf38edc Ethabi
1. encodeFunctionSignature
2. encodeEventSignature
2017-12-25 12:18:59 +08:00
sc0Vu
e25e0cc3f1 jsonMethodToString 2017-12-25 11:19:14 +08:00
sc0Vu
fbc85e74d0 Add fromWei in Utils. 2017-12-25 10:10:17 +08:00
sc0Vu
7c1755cc9c Change toWei. 2017-12-25 09:54:58 +08:00
sc0Vu
46c252a44e toEther 2017-12-24 23:42:46 +08:00
sc0Vu
d58e2e751c Add toWei and bignumber 2017-12-24 20:35:28 +08:00
sc0Vu
fce712ddcd stripZero 2017-12-22 18:12:47 +08:00
sc0Vu
de19210492 isZeroPrefixed 2017-12-22 18:07:31 +08:00
sc0Vu
02b30ee2d5 Add Keccak256 sha3 usage. 2017-12-20 14:15:57 +08:00