Commit Graph

487 Commits

Author SHA1 Message Date
Richard Moore
78eb9d6176
Updated dist files. 2020-07-13 09:34:20 -04:00
Richard Moore
588f64c760
Use status code 1000 on WebSocket hangup for compatibility. 2020-07-13 09:27:08 -04:00
Richard Moore
6039464342
Updated dist files. 2020-07-13 08:50:41 -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
1cfe4962aa
Added tests to help fill out coverage tests. 2020-07-13 07:30:49 -04:00
Richard Moore
79b1da130b
Normalize formatUnits to simplified decimals. 2020-07-13 07:28:56 -04:00
Richard Moore
e128bfcd10
Prevent zero-padding on Solidity type lengths. 2020-07-13 07:28:05 -04:00
Richard Moore
e3d3e604f2
Set sensible defaults for INFURA and AlchemyAPI getWebSocketProvider methods. 2020-07-13 07:26:40 -04:00
Richard Moore
619a8888eb
Added logger assert methods. 2020-07-13 07:24:57 -04:00
Richard Moore
c304d37cbd
Added coverage keep-alive reporter. 2020-07-13 07:23:41 -04:00
Richard Moore
149e0839b1
Added TypeScript map generation and files. 2020-07-13 06:50:29 -04:00
Richard Moore
0c1d55b6dc
Added initial code coverage testing. 2020-07-13 06:48:33 -04:00
Richard Moore
d0a79c6a13
Added destroy to WebSocketProvider. 2020-07-12 05:02:08 -04:00
Richard Moore
59239d2f61
Updated dist files. 2020-07-07 23:19:00 -04:00
Richard Moore
bf65ddbff0
Fixed splitSignature when recoveryParam is encoded directly (#893, #933). 2020-07-07 22:54:35 -04:00
Richard Moore
7e56f3d392
Fixed BigNumber string validation (#935). 2020-07-07 22:18:02 -04:00
Richard Moore
f34be4e2c2
Updated dist files. 2020-07-05 00:01:57 -04:00
Richard Moore
84e253f3f9
Prevent negative exponents in BigNumber (#925). 2020-07-04 23:41:05 -04:00
Richard Moore
0fd9aa5cb6
Fixed StaticJsonRpcProvider when auto-detecting network (#901). 2020-07-04 23:06:18 -04:00
Richard Moore
0838135d4a
Fixed typos in docs (#921). 2020-07-04 22:44:27 -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
7fe702d59b
Fixed typo in error string. 2020-06-29 00:45:47 -04:00
Richard Moore
9e1434503e
Updated elliptic package to address possible malleability issue; which should not affect Ethereum. 2020-06-29 00:40:17 -04:00
Richard Moore
08c74e9a13
Fixed FixedNumber unguarded constructor and added isZero (#898). 2020-06-29 00:38:27 -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
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
Richard Moore
69f707762e
Fixed WebSocketProvider filter events (#784). 2020-04-15 16:46:15 -04:00
Richard Moore
7498c18235
Added bitwise operations to BigNumber (#781). 2020-04-15 15:39:26 -04:00
Richard Moore
40fb8b5b5c
Updated dist files. 2020-04-03 22:13:06 -04:00
Richard Moore
8ad26f0ff4
Removed transactionLogIndex from tests (#415). 2020-04-03 22:03:51 -04:00
Richard Moore
d7c8b355a0
Fix stateMutability calculation for constructors (#762). 2020-04-03 22:01:33 -04:00
Richard Moore
6caf7c292c
Correctly return the Provider in NonceManager. 2020-04-03 21:33:56 -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
6526de016f
Fixed mutabilityState calculation for function fragments (#762). 2020-04-03 21:28:53 -04:00
Richard Moore
da412f6607
Force Log properties to be non-optional (#415). 2020-04-03 20:45:23 -04:00
Richard Moore
053a2d7fcd
Fixed Signer call not forwarding blockTag (#768). 2020-04-03 18:41:24 -04:00
Richard Moore
a656079752
Updated dist files. 2020-03-31 23:40:54 -04:00
Richard Moore
0f144c6cc0
Fixed ENS CLI lookup for Website. 2020-03-31 23:33:13 -04:00
Richard Moore
6c71b51512
Fixed getEtherPrice for EtherscanProvider (#776). 2020-03-31 23:17:10 -04:00
Richard Moore
70cffb6a51
Fixed ENS CLI tool set-websites and added set-name. 2020-03-31 23:16:16 -04:00
Richard Moore
ee647d26e3
Updated dist files. 2020-03-30 22:26:03 -04:00
Richard Moore
092ce9bcc2
Fixed Contract events for immutable Result. 2020-03-30 22:08:55 -04:00
Richard Moore
75abc0e5f6
Updated dist files. 2020-03-30 17:24:33 -04:00
Richard Moore
2692e783b4
Fixed Event args keyword access. 2020-03-30 15:11:23 -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
390497f389
Updated RLP package to use Logger instead of bare errors. 2020-03-17 13:58:49 -04:00
Richard Moore
72c89922a4
Fixed log level filtering for Logger (#379). 2020-03-17 13:57:53 -04:00