Commit Graph

193 Commits

Author SHA1 Message Date
Richard Moore
67bb0b7f93
Added Web3Provider. 2018-01-16 18:55:56 -05:00
Richard Moore
eddf93b200
Added named parameters to tuple encoding. 2018-01-10 19:20:18 -05:00
Richard Moore
df930103e7
Fixed ABIv2 signatures for calling methods. 2018-01-09 20:45:38 -05:00
Richard Moore
e778ab6f30
Added general unit conversion to utils/units. 2018-01-09 18:25:44 -05:00
Richard Moore
a568be9df3
Added getEtherPrice and getHistory calls for Etherscan Provider. 2017-12-29 21:01:43 -05:00
Richard Moore
3512922bef
Temporary - remove InfuraProvider homestead testcases; it is down. 2017-12-05 16:01:17 -05:00
Richard Moore
511fff1390
Fixed message signing when the values are zero-padded. 2017-12-05 01:59:37 -05:00
Richard Moore
fa4db2cecc
Add binary message support for wallet.signMessage (#80). 2017-12-01 22:25:19 -05:00
Richard Moore
8129f0cb8b
Added tightly packed (aka non-standard packed) Solidity hash functions. 2017-11-23 02:11:08 -05:00
Richard Moore
0d106d01af
Added names for nested tuples and fixed topics (now optional) for event parsing. 2017-11-21 19:24:44 -05:00
Richard Moore
807c8133ea
Fixed getTransaction to address and raw computation for providers that do not include it. 2017-11-21 19:05:34 -05:00
Richard Moore
424abc3395
Merge branch 'master' of github.com:ethers-io/ethers.js 2017-11-19 22:26:41 -05:00
Richard Moore
67a29eb92e
Etherscan is back up; re-adding the test cases. 2017-11-18 18:01:02 -05:00
Richard Moore
a1f2c84d03
Merge branch 'master' of github.com:ethers-io/ethers.js 2017-11-17 14:59:44 -05:00
Richard Moore
628c99936e
Added test cases for legacy parameters. 2017-11-17 14:59:42 -05:00
Richard Moore
e8b23c29a5
Fixed for PoA networks getTransactionReceipt (#69). 2017-11-17 14:55:14 -05:00
Richard Moore
11f0434bdd
Fixed legacy parameters for Providers and added test cases. 2017-11-12 16:02:07 -05:00
Richard Moore
4df288e244
Removed shims from PhantomJS tests. 2017-11-09 03:14:48 -05:00
Richard Moore
2e90718d6a Merge branch 'master' of github.com:ethers-io/ethers.js 2017-11-06 19:36:22 -05:00
Richard Moore
fe3ac0e94d
Added ABI v2 coder to Interface (still experimental in Solidity though). 2017-11-06 19:35:18 -05:00
Richard Moore
73ee7664a1 Merge branch 'master' of github.com:ethers-io/ethers.js 2017-11-03 01:31:09 -05:00
Richard Moore
8835225655
Updated getTransactionReceipt for Byzantium. 2017-11-03 01:30:56 -05:00
Richard Moore
54c19dfb5a
Fixed default network for providers (#51). 2017-10-28 17:00:59 -04:00
Richard Moore
e4c455bdb6
Less strict parsing for loose providers. 2017-10-27 17:03:26 -04:00
Richard Moore
aeec6d6d52
Added Rinkeby and Kovan support. 2017-10-25 19:59:54 -04:00
Richard Moore
4d00215098 Added all test cases for PhantomJS. 2017-10-22 17:56:01 -04:00
Richard Moore
a5e1f40c30 First attempt at PhantomJS test cases. 2017-10-22 17:47:17 -04:00
Richard Moore
857688f36c Fix in test-accounts for case-sensitive file systems. 2017-10-21 04:03:51 -04:00
Richard Moore
0adedcab50 Updating root test script for travis-ci. 2017-10-21 03:36:55 -04:00
Richard Moore
bdcdfdabec Added Etherscan URL for testcase. 2017-10-19 02:56:40 -04:00
Richard Moore
264a7da9f7 Added some comparison test cases against ethereumjs-abi. 2017-10-19 02:55:38 -04:00
Richard Moore
f5f2bf85c5 Added message signing to Wallet. 2017-10-19 02:52:55 -04:00
Richard Moore
cb7e40a892 Updated to most recent stable web3 and ethereum lib. 2017-10-19 02:51:43 -04:00
Richard Moore
121d104d46 Removed old nodeunit test cases. 2017-10-19 02:51:20 -04:00
Richard Moore
44729ffba9 Migrated most test cases to mocha and added pre-generated gzipped test suite. 2017-10-18 21:28:45 -04:00
Richard Moore
bbd3c94ec3 Added id to utils. 2017-10-17 16:05:44 -04:00
Richard Moore
394761a6ca Added ENS reverse lookup to provider. 2017-10-03 19:37:06 -04:00
ricmoo
91f9a47afa Added support for PBKD2 encrypted wallets (which Parity uses). 2017-05-28 15:46:57 -05:00
ricmoo
c815166eb5 Added ENS null resolving cases. 2017-05-21 20:34:45 -04:00
ricmoo
7b1856aacb Added name resolve test cases (need more though). 2017-05-21 18:09:17 -04:00
ricmoo
c59414b74b Added ENS name support to Provider and Wallet. 2017-05-20 15:42:16 -04:00
ricmoo
4b41c0e1a2 Added resetEventsBlock feature and fixed a problem with some INFURA nodes. 2017-05-09 21:45:36 -04:00
ricmoo
00b628c6cc Changed filenames of namehash test cases. 2017-05-08 16:14:55 -04:00
ricmoo
9e80c55275 Fixed up testcases for namehash. 2017-05-08 16:13:01 -04:00
ricmoo
a07dfa9572 Added ENS test generation script. 2017-05-03 20:25:04 -04:00
ricmoo
d65a1f120e Updated test location (test files are too big to include in dist). 2017-04-05 17:14:57 -04:00
ricmoo
9fa2c878b9 Updated to new version of etehreumjs-tx (for testing EIP155 support). 2017-04-04 18:32:35 -04:00
ricmoo
6c963f6404 Transactions are returned instead of hashes. 2017-04-04 18:32:00 -04:00
ricmoo
cb9bfccb9a Moved HDNode into Wallet. 2017-04-04 17:50:50 -04:00
ricmoo
3069fa759b Contracts now return hex strings instead of arrays. 2017-04-04 17:40:25 -04:00
ricmoo
ecd9d31371 Renamed summonBrainWallet to fromBrainWallet. Removed crowdslae tests (they will be added again in the future). 2017-04-04 17:39:32 -04:00
ricmoo
6c0723bc43 Added testcase for nonce (which should be truncated). 2017-04-04 17:36:59 -04:00
ricmoo
b097e48efc Grunt file to produce browser test cases. 2017-03-08 01:55:02 -05:00
ricmoo
adc1d93ac2 Added EIP155 support. 2017-03-08 01:47:29 -05:00
ricmoo
cf83d92cc1 Fixing up browser test cases. 2017-03-01 15:56:49 -05:00
ricmoo
f6990b6e1f Changed name of local created test private keys. 2017-03-01 15:24:02 -05:00
ricmoo
da1526b92f Added dummy file to keep dist directory in tests. 2017-03-01 15:20:00 -05:00
ricmoo
55833fcad0 Added Contract getDeployFunction. 2017-03-01 03:59:46 -05:00
ricmoo
b4b60b64aa Added provider test cases. 2017-03-01 02:26:50 -05:00
ricmoo
b4c498f088 Added TestContract.sol for testing contracts and providers. 2017-02-28 20:50:20 -05:00
ricmoo
7394e83eeb Added testcase name to failed test cases. 2017-02-27 17:29:23 -05:00
ricmoo
ebd9bbde2e Added browser test harness. 2017-02-27 01:51:27 -05:00
ricmoo
90f27da293 Fixed umbrella test harness. 2017-02-27 01:50:17 -05:00
ricmoo
7d11687f15 Updated hdnode API in test case. 2017-02-27 00:17:22 -05:00
ricmoo
3234f04b27 Added brainwallet test. 2017-02-27 00:17:01 -05:00
ricmoo
5c16c14fed Fixed filename typo. 2017-02-27 00:13:09 -05:00
ricmoo
0694a5db0e Added auto-running testcases. 2017-02-24 15:24:11 -05:00
ricmoo
9625745f4c Added new regression tests (based on pregenerated JSON files). 2017-02-24 14:56:55 -05:00
ricmoo
89c4c75e3c Scripts to run test cases. 2017-02-24 14:44:19 -05:00
ricmoo
6aceee8486 Added test case generation files. 2017-02-24 14:42:54 -05:00
ricmoo
26958d74d8 Moving test cases around; preparing to delete. 2017-02-24 14:41:24 -05:00
ricmoo
38d578a2c6 Migrating to a split up package; renaming files. 2017-02-24 14:32:44 -05:00
ricmoo
51f1fa50dd Expose the Interface and Contract objects. 2016-11-21 17:46:36 -05:00
ricmoo
d8a88c18d3 Added keyword arguments and proper result types for the Interface and Solidity parser. 2016-11-09 17:27:34 -05:00
ricmoo
3be962f09d Made secret-storage more closely resemble geth. 2016-10-05 00:06:05 +08:00
ricmoo
736b08e016 Updated parseTransaction to format parameters more meaningfully. 2016-09-16 14:46:19 +08:00
ricmoo
d8013cae37 Added transaction parsing with address recovery. 2016-09-16 14:08:36 +08:00
ricmoo
142e5276fe Moved encrypt, decrypt and brain wallet to use promises (which greatly improves nested progress callback, approx 4x performance). 2016-08-15 23:04:02 -04:00
ricmoo
9c1d6051fb Fixed empty transaction field bug. 2016-08-07 15:18:42 -04:00
ricmoo
79f9047c21 Added wallet provider test. 2016-08-05 03:16:13 -04:00
ricmoo
1e5933eb45 Fixed test cases that were being missed. 2016-08-05 03:04:17 -04:00
ricmoo
a4e1f531b7 Etherscan now supports estiateGas and getGasPrice (thanks Matt!). 2016-08-05 02:56:24 -04:00
ricmoo
4b99bb579c Fixed getContractAddress function 2016-08-04 21:37:15 -04:00
ricmoo
1b0dc18bdc Abstracted providers and added etherscan provider. 2016-08-03 19:36:44 -04:00
ricmoo
b3f9070b39 Added full provider API including estimate proxy. 2016-08-02 17:43:18 -04:00
ricmoo
e55ee253ab Cleaned up solidity test cases. 2016-08-01 20:09:34 -04:00
ricmoo
be99fa858e Removed debug logging. 2016-08-01 19:39:40 -04:00
ricmoo
742bcc753f Added brainwallet test case. 2016-08-01 19:32:57 -04:00
ricmoo
c70a9f61cb Added some more info to contract tests that require RPC running. 2016-08-01 18:36:33 -04:00
ricmoo
6440d8e69d Allow running individual unit tests. 2016-08-01 18:34:12 -04:00
ricmoo
97dcd4d450 Fixed testcase generation for soidity parameter encoding/decoding. 2016-08-01 18:31:51 -04:00
ricmoo
5e421d2636 Added ether string parsing and formatting. 2016-07-29 20:06:58 -04:00
ricmoo
829505d548 Split up test cases. 2016-07-26 17:58:17 -04:00