Commit Graph

212 Commits

Author SHA1 Message Date
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
sc0Vu
ffb02edee7 Web3\Utils
- toHex
- hexToBin
2017-12-20 11:49:52 +08:00
sc0Vu
303c14a842 PersonalBatchTest 2017-12-19 16:15:17 +08:00
sc0Vu
8578a7c1c4 personal api test 2017-12-19 16:08:43 +08:00
sc0Vu
125f48a6e5 personal_sendTransaction 2017-12-19 16:05:02 +08:00
sc0Vu
e441831782 personal_unlockAccount 2017-12-19 16:01:23 +08:00
sc0Vu
9ed2b90fdb personal_unlockAccount 2017-12-19 16:01:00 +08:00
sc0Vu
a7a5646f2a personal_newAccount 2017-12-19 15:52:17 +08:00
sc0Vu
20e3dcde10 personal_listAccounts 2017-12-19 15:47:37 +08:00
sc0Vu
4aa3e07576 PersonalTest 2017-12-19 15:40:13 +08:00
sc0Vu
515a1bcbc4 Personal.php 2017-12-19 15:37:04 +08:00
sc0Vu
4c32a35f11 ProviderTest 2017-12-19 11:58:49 +08:00
sc0Vu
cdce5becf6 RequestManagerTest 2017-12-19 11:52:31 +08:00
sc0Vu
048b5a5105 Net setProvider test 2017-12-19 11:41:03 +08:00
sc0Vu
5d19c4659c Web3 setProvider test 2017-12-19 11:39:24 +08:00
sc0Vu
83ffda80c8 Eth setProvider test 2017-12-19 11:37:00 +08:00
sc0Vu
d0835825d3 Split eth tests 2017-12-19 11:20:16 +08:00
sc0Vu
841bd56780 Split net tests 2017-12-19 11:10:24 +08:00
sc0Vu
f1aebc65a6 Split web3 tests 2017-12-19 10:52:36 +08:00
sc0Vu
d1c5ae15d0 eth batch 2017-12-18 11:57:03 +08:00
sc0Vu
1cc89bc04c net test batch 2017-12-18 11:50:03 +08:00
sc0Vu
b7ad62faaf net_listening 2017-12-18 11:47:42 +08:00
sc0Vu
296d3442e0 net_peerCount 2017-12-18 11:43:29 +08:00
sc0Vu
65734f1d7f net_version 2017-12-18 11:39:24 +08:00
sc0Vu
a512883519 Web3\Net 2017-12-18 11:30:32 +08:00
sc0Vu
9a06702505 eth_submitHashrate 2017-12-14 23:17:26 +08:00
sc0Vu
a34ad9216f eth_submitWork 2017-12-14 23:15:13 +08:00
sc0Vu
5b47025afe eth_getWork 2017-12-14 22:20:37 +08:00
sc0Vu
9b66125202 eth_getLogs 2017-12-14 22:16:59 +08:00
sc0Vu
afb3fa52ff eth_getFilterLogs 2017-12-14 22:12:40 +08:00
sc0Vu
4d701c80c2 eth_getFilterChanges 2017-12-14 22:10:24 +08:00
sc0Vu
2cb693fffa eth_uninstallFilter 2017-12-14 22:07:45 +08:00
sc0Vu
851febf048 eth_newPendingTransactionFilter 2017-12-14 22:04:44 +08:00
sc0Vu
4a2d64c398 eth_newBlockFilter 2017-12-14 22:01:09 +08:00
sc0Vu
1d29fd0138 eth_newFilter 2017-12-14 21:56:08 +08:00
sc0Vu
1d02b8ba2e eth_compileSerpent 2017-12-14 19:25:56 +08:00
sc0Vu
6095c92900 eth_compileLLL 2017-12-14 19:24:01 +08:00
sc0Vu
60e52909ff eth_compileSolidity 2017-12-14 19:22:08 +08:00
sc0Vu
630b7fc52a eth_getCompilers 2017-12-14 19:16:50 +08:00
sc0Vu
24deddeade eth_getUncleByBlockNumberAndIndex 2017-12-14 19:10:10 +08:00
sc0Vu
00afa82f0b eth_getUncleByBlockHashAndIndex 2017-12-14 19:08:15 +08:00
sc0Vu
d5a2d4c041 eth_getTransactionReceipt 2017-12-14 19:04:47 +08:00
sc0Vu
3b330384cd eth_getTransactionByBlockNumberAndIndex 2017-12-14 19:01:38 +08:00
sc0Vu
f13217e44d eth_getTransactionByBlockHashAndIndex 2017-12-14 18:59:22 +08:00
sc0Vu
8e4d9067f8 eth_getTransactionByHash 2017-12-14 18:29:21 +08:00
sc0Vu
f48df7d2c7 eth_getBlockByNumber 2017-12-14 18:22:55 +08:00
sc0Vu
54159e3c6f Change tests. 2017-12-14 17:59:18 +08:00
sc0Vu
2fee27e6ca eth_getBlockByHash 2017-12-14 17:52:06 +08:00
sc0Vu
83a514ca65 eth_estimateGas 2017-12-14 17:38:16 +08:00
sc0Vu
70d015961d eth_call 2017-12-14 17:32:46 +08:00
sc0Vu
bda39d4e3a eth_sendTransaction 2017-12-14 15:47:36 +08:00
sc0Vu
ea89fcbde7 eth_sendRawTransaction 2017-12-13 23:55:12 +08:00
sc0Vu
ff2c90c196 eth_sign 2017-12-13 23:22:58 +08:00
sc0Vu
6f28fc79dc eth_getCode 2017-12-13 23:15:57 +08:00
sc0Vu
c957f36217 eth_getUncleCountByBlockNumber 2017-12-13 22:05:34 +08:00
sc0Vu
2772c30ed1 eth_getUncleCountByBlockHash 2017-12-13 22:03:38 +08:00
sc0Vu
2f7a9f901b Add BlockHashValidator and fix validators. 2017-12-13 21:58:23 +08:00
sc0Vu
6a95cdef15 eth_getBlockTransactionCountByNumber 2017-12-13 21:06:56 +08:00
sc0Vu
d14b6c7ee1 eth_getBlockTransactionCountByHash 2017-12-13 20:56:19 +08:00
sc0Vu
9e868e4b5f eth_getTransactionCount 2017-12-13 20:48:22 +08:00
sc0Vu
9a6ba5c92c Change params in Web3\Eth and add default value 2017-12-13 18:05:53 +08:00
sc0Vu
889c846c80 eth_getStorageAt
* eth_getStorageAt
* QuantityValidator
2017-12-13 17:04:07 +08:00
sc0Vu
31147172ec eth_getBalance
* eth_getBalance
* AddressValidator
* TagValidator
2017-12-13 16:49:26 +08:00
sc0Vu
f3833e45b6 eth_blockNumber. 2017-12-13 16:28:59 +08:00
sc0Vu
d7276001f3 eth_accounts. 2017-12-13 16:19:54 +08:00
sc0Vu
b87e3e9de8 eth_gasPrice. 2017-12-13 16:17:20 +08:00
sc0Vu
d0a97a1472 eth_hashrate. 2017-12-13 16:15:52 +08:00
sc0Vu
5ba3ed1371 eth_mining. 2017-12-13 16:13:06 +08:00
sc0Vu
413c1abb68 eth_coinbase. 2017-12-13 16:10:22 +08:00
sc0Vu
44780a9821 eth_syncing. 2017-12-13 16:01:37 +08:00
sc0Vu
864a7a1fb7 Rename tests. 2017-12-13 15:55:33 +08:00
sc0Vu
d94d42b61e Eth protocolVersion 2017-12-12 18:25:20 +08:00
sc0Vu
829e65bbb9 Methods and validator
Web3 allowed methods:
* clientVersion
* sha3

Validator:
* HexValidator
2017-12-12 18:08:03 +08:00
sc0Vu
5d33c2ade3 Fail test. 2017-12-12 16:43:27 +08:00
sc0Vu
ac21406fba File the tests 2017-12-12 12:07:12 +08:00
sc0Vu
eca04e1c91 Web3
Web3 api:
* clientVersion
* sha3

Basic object:
* HttpProvider
* HttpRequestManager
2017-12-12 11:52:52 +08:00