Commit Graph

486 Commits

Author SHA1 Message Date
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
Richard Moore
89615c59d3
Added position independent code option for asm. 2020-02-06 03:30:31 -05:00
Richard Moore
a33bf0e37f
Added ASM semantic checking and the Pop placeholder. 2020-02-05 21:55:26 -05:00
Richard Moore
e7adc84a97
Better type safety for defineReadOnly. 2020-02-04 08:01:26 -05:00
Richard Moore
ff9bc2a282
Fixed CLI sandbox quiting after prompt entry. 2020-02-04 07:10:06 -05:00
Richard Moore
b29510e363
Updated dist files. 2020-02-04 01:06:47 -05:00
Richard Moore
5622f703d9
Better typing for Timers. 2020-02-04 00:50:27 -05:00
Richard Moore
edb7c5da91
Safer transaction serialization, matching signature.v with chainId (#708). 2020-02-04 00:48:45 -05:00
Richard Moore
15bb840907
Fixed Opcode typo and added check to prevent future typos. 2020-02-03 23:10:11 -05:00
Richard Moore
f02c7db410
Renamed AST nodes for teh assembler. 2020-02-03 23:09:32 -05:00
Richard Moore
bacc440397
Added timeout to waitForTransaction (#477). 2020-02-03 23:05:04 -05:00
Richard Moore
aafa42a32b
Added CLI for asm package. 2020-02-01 04:37:20 -05:00
Richard Moore
1decb13799
Prevent Signer.checkTransaction from creating conflicting from properties. 2020-02-01 03:38:19 -05:00
Richard Moore
fa317ebc03
Clean up some asm checks and dead code. 2020-01-30 21:47:52 -05:00
Richard Moore
da8153c877
More contained Opcode API. 2020-01-30 21:41:03 -05:00
Richard Moore
0296594aba
Added initial codedrop for the asm package. 2020-01-30 21:26:46 -05:00
Richard Moore
bee5944567
Updated dist files. 2020-01-29 21:43:56 -05:00
Richard Moore
7428776f75
Better solc support in CLI; it will search the local pacakge for an existing solc version. 2020-01-29 21:36:50 -05:00
Richard Moore
edb49da155
Update ENS registry address and lower default quorum for testnets. 2020-01-29 21:34:24 -05:00
Richard Moore
99329b013c
Exposed isBytes and isBytesLike in ethers.utils. 2020-01-29 21:32:34 -05:00
Richard Moore
c11e7c348e
Updated dist files. 2020-01-21 20:37:22 -05:00
Richard Moore
e0d1d3866d
Better, easier and more provider testing. 2020-01-21 20:16:48 -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
adf56229c6
Fixed imports after refactor. 2020-01-20 19:34:55 -05:00
Richard Moore
931da2f774
Refactor some enum names and add UTF-8 error support to the umbrella package. 2020-01-20 19:29:06 -05:00
Richard Moore
5878b54d6e
Allow arbitrary apiKey for UrlJsonRpcProvider. 2020-01-20 19:27:33 -05:00
Richard Moore
a055edb585
Added more general error handling (e.g. error, ignore, replace) for calling toUtf8String. 2020-01-20 19:26:49 -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
ea102ef7c4
Fixed some typing for receipts and logs (#497). 2020-01-18 21:11:55 -05:00
Richard Moore
92a383ff0d
Abstracting mnemonic phrases (#685). 2020-01-18 21:09:02 -05:00
Richard Moore
c66d81e96f
Fixed 304 status for fetchJson. 2020-01-11 20:14:29 -05:00
Richard Moore
10943fc3ef
Updated dist files. 2020-01-11 04:18:28 -05:00
Richard Moore
90ed07c74e
Fixed testcases for provider changes. 2020-01-11 04:11:55 -05:00
Richard Moore
245cd0e48e
Add support for legacy flat signatures with recid instead of normalized v. 2020-01-11 04:10:57 -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
4151c0eacd
Fixed splitSignature computing wrong v for BytesLike (#700). 2020-01-11 03:34:00 -05:00
Richard Moore
c84664953d
Added dist files for hardware-wallets. 2020-01-10 20:09:40 -05:00
Richard Moore
6f7fbf3858
Browser support (with dist files) for Ledger. 2020-01-10 19:59:20 -05:00
Richard Moore
41740956df
Updated dist files. 2020-01-10 03:19:21 -05:00
Richard Moore
602e6a8973
Relaxed joinSignature API to allow SignauteLike. 2020-01-10 02:59:13 -05:00
Richard Moore
2e8f5ca7ed
Initial code drop of new hardware wallet package. 2020-01-10 02:50:09 -05:00
Richard Moore
074eb4ba69
Updated dist files. 2020-01-09 03:32:50 -05:00
Richard Moore
c04f9a7fff
Fixed require resolution for CLI scripts. 2020-01-09 03:22:19 -05:00
Richard Moore
3c184ace21
Added new URLs for default ETC (and ETC testnets) providers (#351). 2020-01-08 17:59:21 -05:00
Richard Moore
a7e29d60f7
Updated dist files. 2020-01-07 19:58:04 -05:00
Richard Moore
2d5492cd2e
Use better Description typing. 2020-01-07 19:47:55 -05:00
Richard Moore
13f50abd84
Better property access on ABI decoded results (#698). 2020-01-07 19:46:51 -05:00
Richard Moore
d0f4642f6d
Better typing support for Description. 2020-01-07 19:44:45 -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
a21c430c7a
Updated dist files. 2020-01-06 19:00:55 -05:00
Richard Moore
eb26a6d950
Added function to generate CREATE2 addresses (#697). 2020-01-06 18:51:36 -05:00
Richard Moore
a648f2bd1e
Force constructor name to be null (instead of undefined). 2020-01-06 18:48:36 -05:00
Richard Moore
5724fa5d9c
Added Czech wordlist to default wordlists export (#691). 2020-01-03 19:41:23 -05:00
Richard Moore
f54f06b5c8
Added Czech BIP-39 wordlist (#691). 2020-01-03 19:39:22 -05:00
Richard Moore
184c459fab
Updating docs. 2019-12-13 22:05:10 -05:00
Yuet Loo
fdf0980663 add circleci and parity test files 2019-12-09 23:01:21 -05:00
Richard Moore
fa9f53def7
Updated dist files. 2019-11-25 00:02:22 +09:00
Richard Moore
cf036e1ffa
Update elliptic package to protect from Minerva timing attack (#666). 2019-11-24 23:53:18 +09:00
Richard Moore
4470477d7f
Browser and node testing works again. 2019-11-24 19:13:37 +09: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
2f0e679f0b
Stubs for adding throttle support. 2019-11-23 21:21:27 +09:00
Richard Moore
abab9f6aa2
Refactor wordlists. 2019-11-23 21:20:23 +09:00
Richard Moore
c11c2e2e33
Browser testcases work again. 2019-11-23 21:15:06 +09:00