Commit Graph

170 Commits

Author SHA1 Message Date
Richard Moore
28cd3cace2
Moved TypeScript generation to match library layout for easier importing sub-components. 2018-06-21 20:24:30 -04:00
Richard Moore
45f8827c6e
Moving wordlist generation scripts to tests. 2018-06-21 18:03:29 -04:00
Richard Moore
52dc35bf0e
Added missing String.prototype.normalize shim for phantomjs testing. 2018-06-20 21:12:04 -04:00
Richard Moore
2a111ab6ce
Added mnemonic language support for Chinese, Italian, Japanese and Korean. 2018-06-20 20:29:54 -04:00
Richard Moore
a0f92954c8
Removing Etehrscan tests temporarily because Etherscan is down. 2018-06-19 02:21:52 -04:00
Richard Moore
cf79190175
Node 6 does not like async/await, which breaks Travis CI testing. 2018-06-18 14:53:41 -04:00
Richard Moore
5da4917c27
Refactoring. 2018-06-18 05:42:41 -04:00
Richard Moore
af893e79a4
Refectoring; split getAddress, expose transactions, hex operations. 2018-06-17 16:32:57 -04:00
Richard Moore
4df78764a2
Updates phantomjs test cases for gulp and TypeScript dist files. 2018-06-14 02:25:56 -04:00
Richard Moore
8c0308dc58
Initial TypeScript migration. 2018-06-13 15:39:39 -04:00
Richard Moore
0517f70946
Temporary: remove ropsten test cases, it is having issues. 2018-06-05 19:38:35 -04:00
Richard Moore
514aab7ee3
Added positional and keyword argument test cases for ABIv2. 2018-06-05 19:32:18 -04:00
Richard Moore
eaaa689f2f
Temporary - remove ropsten testcases for Etherscan (it is down). 2018-06-05 19:20:21 -04:00
Richard Moore
cf7872a498
Moved contract tests to Rinkeby. 2018-06-05 19:19:40 -04:00
Richard Moore
63b2eae4f5
Increase timeout for signing test cases. 2018-06-03 05:02:52 -04:00
Richard Moore
da74e95f88
Fixing Travis CI, missing nextTick. 2018-06-03 02:42:53 -04:00
Antoni Kedracki
3bf39b3bee Promote getHash into a static method of the Wallet. 2018-05-19 17:47:45 +02:00
Richard Moore
cebf2aab29
Better error messages for contracts. 2018-04-16 21:42:17 -04:00
Richard Moore
e649a22ccf
Added basic authentication to JsonRpcProvider. 2018-04-14 16:10:26 -04:00
Richard Moore
efb7dce524
Added splitSignature and beginning of better error messages. 2018-04-12 15:18:11 -04:00
Richard Moore
12b68b0242
Added support for arbitrary number of decimals to parseUnits and formatUnits. 2018-04-05 15:46:44 -04:00
Richard Moore
1ec8f9cf85
Fixed bool and number types not throwing an exception in the ABI decoding for empty bytes. 2018-03-17 17:39:45 -04:00
Richard Moore
b2ada0cda9
Fixing phantomjs test cases now that there is no sub-packages for test. 2018-03-04 20:00:46 -05:00
Richard Moore
e67a66f900
Major version update; some changes are not backwards compatible. This package has been merged into one package instead of an umbrella pacakge. (See: #95) 2018-03-04 19:31:09 -05:00
Richard Moore
20293fbcfb
Updated testcase balance for Ropsen. 2018-03-03 00:18:29 -05:00
Richard Moore
6ade579542
Added bool support to Solidity-style hash functions (#113). 2018-02-03 20:31:50 -05:00
Richard Moore
4ee9a4d191
Added x-ethers compatible encrypted mnemonic to JSON wallets. 2018-01-26 21:56:20 -05:00
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