Commit Graph

451 Commits

Author SHA1 Message Date
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
Richard Moore
9ea16e5172
Throw errors when trying to RLP encode integers. 2020-03-17 13:55:45 -04:00
Richard Moore
3e44aac8f1
Added delays to provider tests to prevent throttling causing failed tests. 2020-03-13 16:19:48 +01:00
Richard Moore
d2c9214889
Update dist files. 2020-03-12 19:14:50 +01:00
Richard Moore
2c78f0bf26
Checking in initial Eip1193Bridge (experimental). 2020-03-12 19:04:15 +01:00
Richard Moore
117a5dd7ff
Added initial WebSocketProvider (#141). 2020-03-12 18:53:34 +01:00
Richard Moore
fe3b3fa1ad
Renamed properties based on community recommendations; estimate to estimateGas and addressPromise to resovledAddress. 2020-03-10 19:02:53 +01:00
Richard Moore
e52312e783
Better error reporting and fixed look-ahead for data labels. 2020-03-10 19:01:59 +01:00
Richard Moore
7d34f73769
Updated dist files. 2020-02-27 19:58:05 +00:00
Richard Moore
6809c370c0
Fixed syncScrypt declaration and use for json-wallets. 2020-02-27 19:49:05 +00:00
Richard Moore
64dccb275c
Fix address-less filter listening in Provider (#741). 2020-02-27 19:29:02 +00:00
Richard Moore
0ad94cdf81
Added sync version of wallet decryption. 2020-02-27 18:42:59 +00:00
Richard Moore
2ac8c0276d
Updated dist files. 2020-02-26 10:06:48 +00:00
Richard Moore
1cfab3173c
Reduced default Provider quorum for testnets. 2020-02-25 14:52:10 -05:00
Richard Moore
ad27600c69
Added JSON-RPC debugging on error responses. 2020-02-25 14:51:32 -05:00
Richard Moore
ac51a88c29
Fixed setLogLevel to affect global logging. 2020-02-25 14:51:04 -05:00
Richard Moore
f61f34bfb2
Renamed interface getTopic to getEventTopic. 2020-02-25 14:50:35 -05:00
Richard Moore
4b8e198bf2
Fix log parsing when no matching topic is found (#733). 2020-02-25 13:51:33 -05:00
Wighawag
89ac9f4f29 parse log on tx confirmation should not fail 2020-02-20 15:21:35 +00:00
Richard Moore
8c164ab3d0
Updated dist files. 2020-02-17 20:22:33 -05:00
Richard Moore
94db5dbdcf
Remove dead code. 2020-02-17 18:15:03 -05:00
Richard Moore
311af88cfa
Added default EtherscanProvider key. 2020-02-17 18:14:02 -05:00
Richard Moore
6628b58561
Updated reporter to force output for CI. 2020-02-13 15:27:56 -05:00
Richard Moore
027467ad86
Updated dist files (for CI). 2020-02-12 18:21:51 -05:00
Richard Moore
6f2e9a7941
Reduce number of HDNode testcases so CI does not timeout. 2020-02-12 18:18:12 -05:00
Richard Moore
ab5ebd04c3
Updated dist files (for CI). 2020-02-12 15:55:09 -05:00
Richard Moore
133291e9ba
Fix for node 8.x solc tests. 2020-02-12 15:00:18 -05:00
Richard Moore
fa25e61f77
Updates dist files (for CI). 2020-02-12 14:39:03 -05:00
Richard Moore
ec198fdb93
Set contract testcase timeout to daemon timer. 2020-02-12 14:33:39 -05:00
Richard Moore
afa54e356a
Prevent failed event testcase from stalling node. 2020-02-10 16:51:42 -05:00
Richard Moore
c75bc3daa0
Updated testcase balance value. 2020-02-10 16:38:40 -05:00
Richard Moore
f259f9815d
Updated dist files. 2020-02-10 15:51:58 -05:00
Richard Moore
944600d779
Added experimental EipWrappedProvider. 2020-02-10 15:40:55 -05:00
Richard Moore
b962b59ab7
Updated signature for JsonRpcProvider.send to match EIP-1193. 2020-02-10 15:39:38 -05:00
Richard Moore
375bd15594
Added binary literal support to ASM grammar. 2020-02-10 14:37:24 -05:00
Richard Moore
f9ab665b52
Updated dist files. 2020-02-06 18:21:34 -05:00
Richard Moore
a6b696d8bd
Added explicit pop placeholders to ASM dialect. 2020-02-06 18:07:17 -05:00