Commit Graph

272 Commits

Author SHA1 Message Date
Richard Moore
b8df000c8f
Added better error detection when pre-EIP-155 transactions are disabled. 2021-04-17 18:10:27 -04:00
Richard Moore
b65508995c
Fixed EIP-2930 transactions for EtherscanProvider (#1364). 2021-04-14 15:04:24 -04:00
Richard Moore
d55ab6d4e6
Added experimental _JsonRpcBatchProvider (#62, #656, #892). 2021-04-02 03:53:48 -04:00
Richard Moore
1a7c4e89ef
Cache JsonRpcProvider requests for certain methods per event loop (#1371). 2021-04-02 03:45:47 -04:00
Richard Moore
3b1d3fcee6
Update dist files. 2021-03-30 15:22:45 -04:00
Richard Moore
c47d2eba4d
Added EIP-2930 support (#1364). 2021-03-26 16:16:56 -04:00
Richard Moore
6c43e20e7a
Updated dist files. 2021-03-07 18:24:04 -05:00
Richard Moore
bcda16df1d
Updated dist files. 2021-02-12 19:06:01 -05:00
Richard Moore
8279120e0a
Better error messaging when provider backends give bogus responses (#1243). 2021-02-12 18:52:44 -05:00
Richard Moore
80cde06bcc
Updated dist files 2021-02-08 15:24:45 -05:00
Richard Moore
73e94349de
When in Status trigger personal_sign instead of eth_sign (#1285). 2021-02-08 14:46:04 -05:00
Richard Moore
fd0cf2cc54
Updated dist files. 2021-02-02 17:32:11 -05:00
Richard Moore
27a981c84b
Added load balancer support to PocketProvider (#1052). 2021-02-02 17:05:47 -05:00
Richard Moore
e727efc33e
Added support for networks with slightly incorrect EIP-658 implementations (#952, #1251). 2021-02-01 15:50:27 -05:00
Richard Moore
4f67ecdf62
Updated dist files. 2021-01-31 21:12:58 -05:00
Richard Moore
20f6e16394
Better provider internal block management (#1084, #1208, #1221, #1235). 2021-01-13 14:42:15 -05:00
Richard Moore
2df9dd1120
Updated dist files. 2021-01-13 03:41:29 -05:00
Richard Moore
74470defda
Fixed abundant UnhandledRejectErrors in provider polling (#1084, #1208, #1221, #1235). 2021-01-13 03:16:27 -05:00
Richard Moore
e0ccafb140
Updated dist files. 2021-01-08 03:32:59 -05:00
Richard Moore
1c4259881a
Updated dist files. 2020-11-25 15:30:58 -05:00
Richard Moore
95e2871966
Updated dist files. 2020-11-22 22:44:33 -05:00
Richard Moore
4a8d579dca
Fix for new versions of Geth which return formatted data on revert rather than standard data (#949). 2020-11-22 17:43:32 -05:00
Richard Moore
8933467c01
Updated dist build. 2020-11-16 23:07:24 -05:00
Richard Moore
4809325bee
Refactoring dist build process. 2020-11-14 17:42:36 -05:00
Richard Moore
fe17a29581
Allow 0x as a numeric value for 0 in Provider formatter (#1104). 2020-10-22 21:03:51 -04:00
Richard Moore
5a9bc30336
Updated dist files. 2020-10-22 20:01:18 -04:00
Richard Moore
28f60d5ef8
Use POST for long requests in EtherscanProvider (#1093). 2020-10-22 19:46:52 -04:00
Richard Moore
15a90af5be
Fix signTypedData call for JsonRpcSigner (#687). 2020-10-19 01:17:36 -04:00
Richard Moore
86146650d8
Updated dist files. 2020-10-18 23:19:16 -04:00
Richard Moore
be4e2164e6
Initial Signer support for EIP-712 signed typed data (#687). 2020-10-18 21:52:25 -04:00
Richard Moore
a62d20d86f
Added initial PocketProvider (#1052). 2020-10-08 20:21:32 -04:00
Richard Moore
38a068bcea
Add gzip support to AlchemyProivder and InfuraProvider fetching (#1085). 2020-10-07 19:43:20 -04:00
Richard Moore
a022093ce0
Added CommunityResourcable to mark Providers as highly throttled. 2020-10-07 17:28:18 -04:00
Richard Moore
50f84b3c57
Updated dist files. 2020-10-07 00:25:28 -04:00
Richard Moore
8e682cc848
Added debug event info to WebSocketProvider (#1018). 2020-10-06 21:12:49 -04:00
Richard Moore
4d95fe925d
Updated dist files. 2020-10-05 15:46:12 -04:00
Richard Moore
40264ff900
Cache chain ID for WebSocketProvider (#1054). 2020-10-03 02:54:03 -04:00
Richard Moore
9486185ceb
Updated dist files. 2020-09-22 23:18:45 -04:00
Richard Moore
d15c097dba
Updated dist files. 2020-09-16 03:08:36 -04:00
Richard Moore
49f71574f4
More robust blockchain error detection (#1047) 2020-09-16 02:19:28 -04:00
Richard Moore
c1a297db99
Updated dist files. 2020-09-11 02:10:58 -04:00
Richard Moore
bc3eeeca39
Better error forwarding from FallbackProvider (#1021). 2020-09-11 01:10:15 -04:00
Richard Moore
a440317594
Updated dist files. 2020-09-04 01:37:14 -04:00
Richard Moore
83db8a6bd1
Added basic ENS resolver functions for contenthash, text and multi-coin addresses (#1003). 2020-09-04 01:18:57 -04:00
Richard Moore
5fcd03f27e
Updated dist files. 2020-08-25 01:53:48 -04:00
Richard Moore
9f20258d5d
Longer Etherscan throttle slot interval. 2020-07-16 05:29:33 -04:00
Richard Moore
88c7eaed06
Added initial throttling support (#139, #904, #926). 2020-07-14 02:26:45 -04:00
Richard Moore
588f64c760
Use status code 1000 on WebSocket hangup for compatibility. 2020-07-13 09:27:08 -04:00
Richard Moore
57fd6f0604
Updated WebSocketProvider to use web-style event listener API. 2020-07-13 08:41:54 -04:00
Richard Moore
49e83b0c4d
Updated dist files. 2020-07-13 08:03:56 -04:00
Richard Moore
e3d3e604f2
Set sensible defaults for INFURA and AlchemyAPI getWebSocketProvider methods. 2020-07-13 07:26:40 -04:00
Richard Moore
d0a79c6a13
Added destroy to WebSocketProvider. 2020-07-12 05:02:08 -04:00
Richard Moore
f34be4e2c2
Updated dist files. 2020-07-05 00:01:57 -04:00
Richard Moore
0fd9aa5cb6
Fixed StaticJsonRpcProvider when auto-detecting network (#901). 2020-07-04 23:06:18 -04:00
Richard Moore
4838874127
Added WebSocket static method to Alchemy provider and updated Alchemy URLs. 2020-07-03 01:41:32 -04:00
Richard Moore
96cb44025b
Updated dist files. 2020-06-29 00:54:30 -04:00
Richard Moore
c53864de0a
Added StaticJsonRpcProvider for reducing calls to chainId in certain cases (#901). 2020-06-29 00:21:59 -04:00
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
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
ddad98ab32
Updated dist files. 2020-06-03 03:47:17 -04:00
Richard Moore
d2ca4fb443
Fix non-any Provider network emit (#495, #861). 2020-06-03 03:34:40 -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
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
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
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
fde102b7ed
Fixed FallbackProvider ESM super-this out-of-order issue (#822). 2020-05-12 17:24:28 -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
8eeda23e98
More robust FallbackProvider on clean exits. 2020-05-04 22:48:21 -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
fa6904fef3
Stall FallbackProvider backends from requests if not in-sync. 2020-05-03 21:04:23 -04:00
Richard Moore
99ae946476
Allow providers to detect their network after instantiation (#814). 2020-05-03 17:32:16 -04:00
Richard Moore
7b1a7c7f31
Manage FallbackProvider stalling without unref (#815). 2020-05-03 16:15:19 -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
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
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
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
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
2f30410ddd
Updated dist files. 2020-04-16 21:59:53 -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
69f707762e
Fixed WebSocketProvider filter events (#784). 2020-04-15 16:46:15 -04:00
Richard Moore
40fb8b5b5c
Updated dist files. 2020-04-03 22:13:06 -04:00
Richard Moore
2882546351
Fail earlier when resolving an ENS name that is not a string. 2020-04-03 21:32:44 -04:00
Richard Moore
da412f6607
Force Log properties to be non-optional (#415). 2020-04-03 20:45:23 -04:00
Richard Moore
a656079752
Updated dist files. 2020-03-31 23:40:54 -04:00
Richard Moore
6c71b51512
Fixed getEtherPrice for EtherscanProvider (#776). 2020-03-31 23:17:10 -04:00
Richard Moore
bd32ee0af5
Updating TypeScript library and fixing some audit issues. 2020-03-22 14:57:17 -04:00
Richard Moore
62aad5f8f3
Updated dist files. 2020-03-21 12:48:22 -04:00
Richard Moore
030f65e66c
Abstracted JSON-RPC parameter generation for others to use. 2020-03-17 14:00:13 -04:00
Richard Moore
d2c9214889
Update dist files. 2020-03-12 19:14:50 +01:00
Richard Moore
117a5dd7ff
Added initial WebSocketProvider (#141). 2020-03-12 18:53:34 +01:00
Richard Moore
7d34f73769
Updated dist files. 2020-02-27 19:58:05 +00:00
Richard Moore
64dccb275c
Fix address-less filter listening in Provider (#741). 2020-02-27 19:29:02 +00:00
Richard Moore
ad27600c69
Added JSON-RPC debugging on error responses. 2020-02-25 14:51:32 -05:00
Richard Moore
8c164ab3d0
Updated dist files. 2020-02-17 20:22:33 -05:00
Richard Moore
311af88cfa
Added default EtherscanProvider key. 2020-02-17 18:14:02 -05:00
Richard Moore
b962b59ab7
Updated signature for JsonRpcProvider.send to match EIP-1193. 2020-02-10 15:39:38 -05:00
Richard Moore
f9ab665b52
Updated dist files. 2020-02-06 18:21:34 -05:00
Richard Moore
e7adc84a97
Better type safety for defineReadOnly. 2020-02-04 08:01:26 -05:00
Richard Moore
b29510e363
Updated dist files. 2020-02-04 01:06:47 -05:00
Richard Moore
bacc440397
Added timeout to waitForTransaction (#477). 2020-02-03 23:05:04 -05:00
Richard Moore
f92d156f17
Updated dist files. 2020-01-21 19:08:05 -05:00
Richard Moore
251882ced4
Fixed out-of-bounds difficulty in getBlock, which can affect PoA networks (#711). 2020-01-21 18:37:16 -05:00
Richard Moore
1ff5f5233e
Updated dist files. 2020-01-20 19:43:50 -05:00
Richard Moore
5878b54d6e
Allow arbitrary apiKey for UrlJsonRpcProvider. 2020-01-20 19:27:33 -05:00
Richard Moore
2d72c856a2
Updated dist files. 2020-01-18 21:48:12 -05:00
Richard Moore
f4bcf24a25
Much more resiliant FallbackProvider which can ignore properties that are only approximate and supports per-provider priorities (#635, #588). 2020-01-18 21:24:28 -05:00
Richard Moore
10943fc3ef
Updated dist files. 2020-01-11 04:18:28 -05:00
Richard Moore
72b3bc9909
Fix TransactionResponse to have chainId instead of legacy networkId (#700). 2020-01-11 03:34:59 -05:00
Richard Moore
a7e29d60f7
Updated dist files. 2020-01-07 19:58:04 -05:00
Richard Moore
1e72fc7d6f
Fixed resolveName when name is an address with an invalid checksum (#694). 2020-01-07 19:41:43 -05:00
Richard Moore
f308ba3540
Updated dist files (sorted package.json to reduce package version change chatter). 2019-11-23 21:38:13 +09:00
Richard Moore
79ef1e975d
Updated dist files. 2019-11-20 18:57:38 +09:00
Richard Moore
e518151509
Fixed null apiKey problem for InfuraProvider. 2019-11-20 18:28:13 +09:00
Richard Moore
01ca35036c
Removing NodesmithProvider from default provider as it is being discontinued. 2019-11-19 18:14:40 +09:00
Richard Moore
1ec5804bd4
Added support for complex API keys including support for INFURA project secrets (#464, #651, #652). 2019-11-19 18:00:05 +09:00
Richard Moore
e1509a6326
Migrating providers to modern syntax and scoping (#634). 2019-11-01 23:51:08 +09:00
Richard Moore
1d4f90a958
Added provider property to Web3Provider (#641). 2019-11-01 22:18:17 +09:00
Richard Moore
d9d438a119
Force deploy receipt to address to be null (#573). 2019-10-19 20:33:57 +09:00
Richard Moore
5b0c15930f
Update dist files. 2019-10-17 01:12:03 +09:00
Richard Moore
12cfc59965
Fixed getBlock for blockhashes with a leading 0 (#629). 2019-10-17 00:53:25 +09:00
Richard Moore
3c864de612
Updated dist files. 2019-09-28 02:36:19 -04:00
Richard Moore
238fcba83b
Updated dist files. 2019-09-08 02:46:53 -04:00
Richard Moore
9c63b4a753
Fixed typo in error message (#580). 2019-09-06 18:48:14 -04:00
Richard Moore
6f4ca61208
Updated dist files. 2019-08-22 17:12:51 -04:00
Richard Moore
07e15993ba
Fixed sendTransaction and use median gas price in FallbackProvider. 2019-08-22 16:51:35 -04:00
Richard Moore
57bf997d33
Updates dist files. 2019-08-21 01:52:13 -04:00
Richard Moore
b304ec1f00
Fixed quorum-matching logic for FallbackProvider. 2019-08-21 01:45:51 -04:00