Commit Graph

410 Commits

Author SHA1 Message Date
Richard Moore
8c1ff4c862
Allow getDefaultProvider to accept a URL as a network. 2020-06-29 00:06:31 -04:00
Richard Moore
987b5354cc
Make network an optional parameter to WebSocketProvider. 2020-06-29 00:04:45 -04:00
Richard Moore
1a4f7d1b53
Updated docs. 2020-06-17 23:38:59 -04:00
Richard Moore
f9e9347e69
Removed deprecated errors package. 2020-06-17 23:34:53 -04:00
Richard Moore
3017a31127
Updated dist files. 2020-06-13 21:39:36 -04:00
Richard Moore
bbb4f407b3
Allow provider.ready to stall until the network is available (#882). 2020-06-13 21:26:50 -04:00
Richard Moore
5a69e9caa8
Fixed embedded pacakge version strings. 2020-06-12 23:04:10 -04:00
Richard Moore
e805ab5b2d
Updated dist files (remove from beta). 2020-06-12 21:07:12 -04:00
Richard Moore
e1dce87525
Updated dist files. 2020-06-12 04:57:38 -04:00
Richard Moore
adc8d3d9ae
Support nonpayable Solidity modifier in ABI. 2020-06-12 04:41:53 -04:00
Richard Moore
693094e97c
More debug information in timeout and fetch errors (#678). 2020-06-12 04:41:07 -04:00
Richard Moore
5e7d28b19b
Use URL parse instead of constructor for react compatibility (#874). 2020-06-12 04:38:25 -04:00
Richard Moore
ddad98ab32
Updated dist files. 2020-06-03 03:47:17 -04:00
Richard Moore
d2406c42a1
Added test case for null from and blockTag to contract populateTransaction (#860). 2020-06-03 03:35:24 -04:00
Richard Moore
d2ca4fb443
Fix non-any Provider network emit (#495, #861). 2020-06-03 03:34:40 -04:00
Richard Moore
98bb58964b
Allow undefined properties in transaction object and fix stray this (#860). 2020-06-03 03:33:28 -04:00
Richard Moore
1a89c591c2
Allow JsonRpcSigner to override from if it matches Signer (#862). 2020-06-03 03:17:42 -04:00
Richard Moore
2bc7bb6e61
Added initial support for spontaneous network changes (#495, #861). 2020-06-03 02:37:59 -04:00
Richard Moore
86d50bc9b6
Updated dist files. 2020-06-01 05:04:12 -04:00
Richard Moore
cd7a0b36cd
Re-enable tests removed to fix slow CI. 2020-06-01 04:47:40 -04:00
Richard Moore
9e81012540
Added reporter support for skipped tests. 2020-06-01 04:47:06 -04:00
Richard Moore
42dee67187
Major Contract refactor for overrides (#819, #845, #847, #860). 2020-06-01 04:46:37 -04:00
Richard Moore
c29d20c602
Updated dist files. 2020-05-29 21:27:59 -04:00
Richard Moore
41e66ab834
Simply typing for properties module. 2020-05-29 21:15:17 -04:00
Richard Moore
e5a1b4d5cb
Refactor Contract away from monolithic runMethod. 2020-05-29 21:12:15 -04:00
Richard Moore
1b0ad5aa69
Correctly set last emitted block for WebSocketProvider (#856). 2020-05-29 20:41:20 -04:00
Richard Moore
8efd8d2031
Fixed delayed network detection attempting to overwrite read-only value (#854). 2020-05-29 04:03:46 -04:00
Richard Moore
180a1aff3a
Better WebSocket compatibilities with Parity (#)849. 2020-05-26 06:42:19 -04:00
Richard Moore
dc4daf75b0
Updated dist files. 2020-05-21 00:07:41 -04:00
Richard Moore
b03c4edd31
Make filter blockHash property name match EIP-234. 2020-05-20 23:56:26 -04:00
Richard Moore
ed29fac376
Make filter blockHash property name match EIP-234. 2020-05-20 23:50:35 -04:00
Richard Moore
f963589400
Fixed FallbackProvider sync-stalling for backends (#841). 2020-05-20 23:42:08 -04:00
Richard Moore
2a78953f9a
Updated dist files. 2020-05-12 23:31:51 -04:00
Richard Moore
55d98e852b
Trying InfuraProvider for contract tests. 2020-05-12 23:23:43 -04:00
Richard Moore
647fbd8cbf
Add sub-error to gas estimate error for Ganache users (#829). 2020-05-12 22:53:16 -04:00
Richard Moore
fa87417e94
Moved ABI check for unique names to coding time and only if ambiguous (#816). 2020-05-12 22:41:04 -04:00
Richard Moore
82a93263fa
Added missing Interface exports to umbrella utils. 2020-05-12 17:25:02 -04:00
Richard Moore
fde102b7ed
Fixed FallbackProvider ESM super-this out-of-order issue (#822). 2020-05-12 17:24:28 -04:00
Richard Moore
fdf2253218
Fixed node hanging on unnecessary timeout when fetchJson fails. 2020-05-12 16:55:14 -04:00
Richard Moore
2a06893eb5
Updated dist files (with version-lock). 2020-05-08 15:28:55 -04:00
Richard Moore
963197d70c
Fix JsonRpcProvider out-of-order super call (#822). 2020-05-08 15:12:02 -04:00
Richard Moore
7f0374c5a5
Updated dist files. 2020-05-04 23:01:04 -04:00
Richard Moore
8eeda23e98
More robust FallbackProvider on clean exits. 2020-05-04 22:48:21 -04:00
Richard Moore
657a0394f5
Safer test suite reporter timer. 2020-05-04 22:47:06 -04:00
Richard Moore
ab7c78118a
Added goerli to AlchemyProvider tests. 2020-05-04 22:45:42 -04:00
Richard Moore
dc48bfb7ad
Added more robust poll event to Provider. 2020-05-04 22:43:44 -04:00
Richard Moore
86670eb80e
Added goerli to AlchemyProvider. 2020-05-04 22:39:31 -04:00
Richard Moore
89a7ad8528
Updated dist files. 2020-05-03 21:58:26 -04:00
Richard Moore
17dc022603
Removed Cloudflare from test suite; it is down again. 2020-05-03 21:51:41 -04:00
Richard Moore
cafd34460b
Prevent forceOutput in test reporter from crashing. 2020-05-03 21:50:03 -04:00
Richard Moore
e96b43e84d
Updated dist files. 2020-05-03 21:11:18 -04:00
Richard Moore
fa6904fef3
Stall FallbackProvider backends from requests if not in-sync. 2020-05-03 21:04:23 -04:00
Richard Moore
3f37d15b88
Update dist files. 2020-05-03 17:53:58 -04:00
Richard Moore
99ae946476
Allow providers to detect their network after instantiation (#814). 2020-05-03 17:32:16 -04:00
Richard Moore
0e3a66c829
Better messaging on low-level network errors (#814). 2020-05-03 16:24:18 -04:00
Richard Moore
7b1a7c7f31
Manage FallbackProvider stalling without unref (#815). 2020-05-03 16:15:19 -04:00
Richard Moore
20a3d9b98d
Removed dead files. 2020-05-03 15:58:41 -04:00
Richard Moore
098d7efb21
Only error on duplicate signatures in Contract ABI (#499). 2020-05-03 14:54:26 -04:00
Richard Moore
a6c1174dff
Added getWebSocketProvider static method to InfuraProvider. 2020-05-03 14:20:33 -04:00
Richard Moore
472e5b07ea
Fix WebSocketProvider responses when message result is null (#813). 2020-05-03 14:18:12 -04:00
Richard Moore
0d71cfb92c
Updated dist files. 2020-05-01 17:00:44 -04:00
Richard Moore
1e21eb034b
Updating style. 2020-05-01 16:32:32 -04:00
Richard Moore
83fba3de25
Allow modifiers on Human-Readable ABI for tuples and arrays. 2020-05-01 16:24:59 -04:00
Richard Moore
54dfb757c4
Added initial renew support to ENS CLI. 2020-05-01 16:21:33 -04:00
Richard Moore
28800d7681
Allow contract filters to include OR-ed values (#437). 2020-05-01 16:18:31 -04:00
Richard Moore
9f8025155c
Updated dist files. 2020-04-28 05:03:49 -04:00
Richard Moore
84c68ac5c1
Removed old EIP-1193 experimental provider; it can now be supported by Web3Provider as EIP-1193 is now backwards compatible. 2020-04-28 04:54:08 -04:00
Richard Moore
393c0c74a9
Fixed getLogs filter deserialization (#805). 2020-04-28 04:52:29 -04:00
Richard Moore
000aaaf4e8
Updated dist files. 2020-04-27 06:31:43 -04:00
Richard Moore
56af4413b1
Added EIP-1193 support to Web3Provider. 2020-04-27 06:15:44 -04:00
Richard Moore
427a78b258
Updated dist files. 2020-04-25 03:54:54 -04:00
Richard Moore
5aefb4303d
Fix for HID on ES2015; does not support dymanic imports (#798). 2020-04-25 03:46:46 -04:00
Richard Moore
d1f3a42c11
Minor typing-detected fixes. 2020-04-25 03:26:44 -04:00
Richard Moore
bda6623091
Added initial support for recoverable coding erros (#800). 2020-04-25 03:25:42 -04:00
Richard Moore
14e6811bf7
More draconian Typing. 2020-04-25 01:06:28 -04:00
Richard Moore
2e24920d02
Omit HID libraries for hardware-wallets package on unsupported environments (#798). 2020-04-24 18:22:06 -04:00
Richard Moore
017ea0d6bd
Make default constructor non-payable (#684). 2020-04-24 03:02:57 -04:00
Richard Moore
47e4655f6b
Updated dist files. 2020-04-23 23:35:39 -04:00
Richard Moore
8e7751f7df
Fixed inconsistent log format in WebSocketProvider (#795). 2020-04-23 23:17:55 -04:00
Richard Moore
6707754580
Added WebSocketProvider support for ENS names in filters. 2020-04-23 23:10:21 -04:00
Richard Moore
aeeb75f74c
Fixed provider filtering by ENS name. 2020-04-23 22:54:25 -04:00
Richard Moore
8bb2a0fd08
Fixed ContractFactory.deploy ignoring overrides (#796). 2020-04-23 22:28:51 -04:00
Richard Moore
13862589fa
Re-enable Cloudflare tests; seems to be back up. 2020-04-23 08:16:25 -04:00
Richard Moore
fca5ccbc20
Fix median calculation for large block number deltas across FallbackProvider backends. 2020-04-23 08:15:46 -04:00
Richard Moore
8cf4b3cf45
Work-around for Cloudflare not offering eth_blockNumber. 2020-04-23 08:13:53 -04:00
Richard Moore
71d03c6e3c
Added string spell-checking to library and fixed discovered typos. 2020-04-22 02:42:25 -04:00
Richard Moore
db604aa6af
Updated dist files. 2020-04-18 06:40:36 -04:00
Richard Moore
560adeabb0
Fixed getUrl for node 8. 2020-04-18 06:32:35 -04:00
Richard Moore
4874419119
Updated dist files. 2020-04-18 05:14:55 -04:00
Richard Moore
9ae6b70efb
Fixes for dist builds without injected XMLHttpRequest (#789, #506). 2020-04-18 02:46:52 -04:00
Richard Moore
5b51549437
Added npmignore for asm package. 2020-04-16 22:01:49 -04:00
Richard Moore
2f30410ddd
Updated dist files. 2020-04-16 21:59:53 -04:00
Richard Moore
cc72f76695
Added support for Contract event parsing error recovery. 2020-04-16 21:33:24 -04:00
Richard Moore
4ef0e4f765
Fix provider log filters with zero topics (#785). 2020-04-16 21:30:35 -04:00
Richard Moore
54dfaacba3
Updated dist files. 2020-04-15 18:28:04 -04:00
Richard Moore
797abb7267
Temporarily remove CloudflareProvider tests; it is down and breaking the tests. 2020-04-15 18:11:39 -04:00
Richard Moore
39c78f37ce
Fixed Contract filter never unsubscribing. 2020-04-15 18:09:38 -04:00
Richard Moore
284771ea39
Updated ABI Number coder for BigNumber API change. 2020-04-15 16:49:55 -04:00
Richard Moore
7dcefcbf71
Better error reporting for Fragments. 2020-04-15 16:49:03 -04:00
Richard Moore
2eb3823de4
Fixed early Contract filter unsubscribing. 2020-04-15 16:47:55 -04:00