Commit Graph

656 Commits

Author SHA1 Message Date
Richard Moore
fbbe4ad638
Fixed typo in BigNumber error (#1164). 2020-11-22 16:38:28 -05:00
Richard Moore
20defec9f1
Addd missing sideEffects flag to some packages. 2020-11-22 16:35:27 -05:00
Richard Moore
c8bb77d8af
Allow base-10 to be passed into BigNumbner.toString and improve errors for other radices (#1164). 2020-11-22 16:34:07 -05:00
Richard Moore
29f6c34343
Allow private keys to Wallet to omit the 0x prefix (#1166). 2020-11-20 17:30:36 -05:00
Richard Moore
a185e89181
Updated dist files. 2020-11-19 18:54:50 -05:00
Richard Moore
c9e548071e
Force address to use bignumber package with base36 private functions (#1163). 2020-11-19 18:45:10 -05:00
Richard Moore
62c7195ed6
Updated dist files. 2020-11-19 17:44:10 -05:00
Richard Moore
cc63e61f73
Remove stray console.log in hardware wallets (#1136). 2020-11-19 17:24:37 -05:00
Richard Moore
4b7028a661
docs: Typo in BigNumber source (#1100). 2020-11-18 17:25:58 -05:00
Richard Moore
97efeba8dc
docs: fixed typo in contracts readme (#1128). 2020-11-18 17:20:24 -05:00
Richard Moore
cddc258c96
Remove invalid pkg.module reference (#1133). 2020-11-18 17:13:23 -05:00
Richard Moore
3abfdffffa
Updated dist files. 2020-11-17 20:36:19 -05:00
Richard Moore
02546b9401
Fix browser ws alias. 2020-11-17 20:07:22 -05:00
Richard Moore
8933467c01
Updated dist build. 2020-11-16 23:07:24 -05:00
Richard Moore
22bd0c76dd
Use dist files in browser tests. 2020-11-16 21:20:35 -05:00
Richard Moore
4809325bee
Refactoring dist build process. 2020-11-14 17:42:36 -05:00
Richard Moore
e0b1d0e1e0
Updated dist files. 2020-10-22 21:55:40 -04: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
a21202c66b
Export verifyTypedData in utils (#687). 2020-10-20 00:17:43 -04:00
Richard Moore
550ecf2f25
Added verifyTypedData for EIP-712 typed data (#687). 2020-10-20 00:15:55 -04:00
Richard Moore
7b19fdfeed
Updated dist files. 2020-10-19 01:27:15 -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
7fcae25a78
Refactoring test case generation scripts. 2020-10-18 21:55:12 -04:00
Richard Moore
15893537c3
Added EIP-712 test cases (#687). 2020-10-18 21:54:21 -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
3e676f21b0
Split hash library files up. 2020-10-18 21:45:32 -04:00
Richard Moore
5a4dd5a703
Added EIP-712 multi-dimensional array support (#687). 2020-10-12 00:58:04 -04:00
Richard Moore
345a830dc4
Consolidated TypedDataEncoder methods (#687). 2020-10-10 04:44:17 -04:00
Richard Moore
cfa6dec293
Initial EIP-712 utilities (#687). 2020-10-10 04:12:52 -04:00
Richard Moore
5a6d9a3a38
Added test cases for PocketProvider. 2020-10-08 21:29:14 -04:00
Richard Moore
a62d20d86f
Added initial PocketProvider (#1052). 2020-10-08 20:21:32 -04:00
Richard Moore
d78b7a3998
Updated dist files. 2020-10-07 20:10:50 -04:00
Richard Moore
5abc2f36e2
Better error message for parseUnits of non-strings (#981). 2020-10-07 19:50:27 -04:00
Richard Moore
38a068bcea
Add gzip support to AlchemyProivder and InfuraProvider fetching (#1085). 2020-10-07 19:43:20 -04:00
Richard Moore
65772a8e1a
Add gzip support to getUrl in node (#1085). 2020-10-07 19:40:28 -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
78a82d9ff2
CI: Force INFURA for provider and contract tests. 2020-10-06 16:58:52 -04:00
Richard Moore
1ac7decd89
CI: Removed solc tests to try fixing Promise issues. 2020-10-06 14:51:55 -04:00
Richard Moore
4fa7276cc1
CI: Updated provider tests. 2020-10-06 01:46:23 -04:00
Richard Moore
6ae222d55c
CI: Temporarily remove Cloudflare from tests. 2020-10-05 23:51:14 -04:00
Richard Moore
efeeda5e5c
CI: Updated dist files. 2020-10-05 23:27:03 -04:00
Richard Moore
c75c937b13
Updated dist files. 2020-10-05 22:17:15 -04:00
Richard Moore
d1ee596292
CI: Fix provider timeout. 2020-10-05 21:25:37 -04:00
Richard Moore
b61e2cc96a
Updated dist files. 2020-10-05 16:49:47 -04:00
Richard Moore
ca94445f0f
Added custom API key for Alchemy in test suite. 2020-10-05 16:44:40 -04:00
Richard Moore
4d95fe925d
Updated dist files. 2020-10-05 15:46:12 -04:00
Richard Moore
f3e5b0ded1
ABI encoding performance additions (#1012). 2020-10-05 15:34:00 -04:00
Richard Moore
3d051e454d
Export hexConcat in utils (#1079). 2020-10-03 13:18:56 -04:00
Richard Moore
40264ff900
Cache chain ID for WebSocketProvider (#1054). 2020-10-03 02:54:03 -04:00
Richard Moore
22dee96f51
Updated dist files. 2020-09-26 03:27:47 -04:00
Richard Moore
f0a5869c53
Add more accurate intrinsic gas cost to ABI calls with specified gas property (#1058). 2020-09-26 02:17:05 -04:00
Richard Moore
5cd1668e0d
Better errors for unconfigured ENS names (#1066). 2020-09-26 01:23:43 -04:00
Richard Moore
ffa4a2d054
CI: Fix test cases. 2020-09-23 01:00:30 -04:00
Richard Moore
4306b3563a
Updated CLI solc to versin 0.7.1. 2020-09-23 00:00:21 -04:00
Richard Moore
9486185ceb
Updated dist files. 2020-09-22 23:18:45 -04:00
Richard Moore
261eb04e97
Ignore metadata files in each package. 2020-09-22 22:57:17 -04:00
Richard Moore
27b3af0a7b
Removed dead files. 2020-09-17 17:17:15 -04:00
Richard Moore
f733fac875
Custom API key for Etherscan during tests (#824). 2020-09-17 03:44:29 -04:00
Richard Moore
a3821f6c4b
Updated dist files. 2020-09-16 19:44:55 -04:00
Richard Moore
de8a717b4c
Refactored provider test cases to more reliable CI. 2020-09-16 19:38:01 -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
9ee685df46
Forward blockchain errors from Signer during gas estimation (#1047). 2020-09-15 22:14:22 -04:00
Richard Moore
263bfe5ce6
Improve fetch errors with looser mime-type detection (#1047). 2020-09-15 22:12:56 -04:00
Richard Moore
c1a297db99
Updated dist files. 2020-09-11 02:10:58 -04:00
Richard Moore
be92339696
Force content-length in web fetching. 2020-09-11 01:10:53 -04:00
Richard Moore
bc3eeeca39
Better error forwarding from FallbackProvider (#1021). 2020-09-11 01:10:15 -04:00
Richard Moore
042b74e6ee
Add clamping functions to FixedNumber (#1037). 2020-09-10 01:16:28 -04:00
Richard Moore
9d5de46c84
Updated dist files. 2020-09-07 19:55:52 -04:00
Richard Moore
4e394fc680
Allow events to use compact bytes ABI coded data for Solidity 0.4 external events (#891, #992). 2020-09-07 19:35:37 -04:00
Richard Moore
bdccf7b8d3
Synced unorm in shims to most recent version. 2020-09-05 23:45:25 -04:00
Richard Moore
0234cfbbef
Updated dist files. 2020-09-05 23:35:35 -04:00
Richard Moore
cadb28d6b3
Fixed LedgerSigner sendTransaction (#936). 2020-09-05 04:37:47 -04:00
Richard Moore
72385c2287
Added BrainWallet to experimental exports. 2020-09-05 04:29:53 -04:00
Richard Moore
201e5ced9c
More readable server errors. 2020-09-05 04:29:08 -04:00
Richard Moore
bf481f4bbf
Updated dist files. 2020-09-05 01:23:16 -04:00
Richard Moore
681f2a50b2
Fixed test retry in browsers. 2020-09-05 01:14:25 -04:00
Richard Moore
18fdb96fe1
Updated dist files. 2020-09-04 03:21:51 -04:00
Richard Moore
35b64b9a65
Add test retry support to reporter. 2020-09-04 03:15:07 -04:00
Richard Moore
4ca98825d4
Updated dist files. 2020-09-04 02:11:49 -04:00
Richard Moore
0558bba8eb
Added retry logic to provider tests. 2020-09-04 02:06:04 -04:00
Richard Moore
a440317594
Updated dist files. 2020-09-04 01:37:14 -04:00
Richard Moore
2359a98641
Fixed link in docs (#1028). 2020-09-04 01:26:29 -04:00
Richard Moore
6fd3bb62d1
Added memory-like support and new opcodes to asm. 2020-09-04 01:20:35 -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
f24240eddf
Updated dist files. 2020-08-27 22:04:58 -04:00
Richard Moore
d01d0c8448
Added support for changing Reporter logging function. 2020-08-27 21:58:34 -04:00
Richard Moore
240aac5683
Updating shims for constrained environments (#944, #993). 2020-08-27 14:23:23 -04:00
Richard Moore
8abdbbbf63
Updating shims for constrained environments (#944, #993). 2020-08-27 14:22:58 -04:00
Richard Moore
5fcd03f27e
Updated dist files. 2020-08-25 01:53:48 -04:00
Richard Moore
cb8f4a3a4e
Updated docs for all packages on npm pages (#1013). 2020-08-25 01:09:48 -04:00
Richard Moore
8facc1a530
Added JSON support to BigNumber (#1010). 2020-08-24 23:15:03 -04:00
Richard Moore
28dbcfc38c
CI: added coverage artifacts. 2020-08-23 19:39:57 -04:00
Richard Moore
be273f26e9
Fixed typos in readme (#996). 2020-08-20 16:49:34 -04:00
Richard Moore
b0c082d728
Fix emitted error for ABI code array count mismatch (#1004). 2020-08-20 15:33:16 -04:00
Richard Moore
9640e864a6
Updated dist files. 2020-08-04 20:55:55 -04:00
Richard Moore
e1bbb064a1
Do not mutate connection in fetchJson. 2020-08-04 20:49:40 -04:00
Richard Moore
d38ebaeb23
Updated dist files. 2020-08-04 20:33:21 -04:00
Richard Moore
39a16260a7
Updated dist files. 2020-07-31 01:32:26 -04:00
Richard Moore
2c49a52a41
Renamed and documented experimental fetchData function. 2020-07-31 01:15:22 -04:00
Richard Moore
c414a45825
Updated dist files. 2020-07-30 17:04:53 -04:00
Richard Moore
e2d6f281d5
Abstract fetchJson for data. 2020-07-30 17:03:36 -04:00
Richard Moore
ba404ffb0b
Updated dist files. 2020-07-20 02:27:26 -04:00
Richard Moore
af10705632
Add testcases for setLogLevel (#947). 2020-07-20 01:43:47 -04:00
Richard Moore
5443363de4
Fix Logger setLogLevel with enum case mismatch (#947). 2020-07-20 01:43:02 -04:00
Richard Moore
e3f7426af4
Removed UUID dependency from json-wallets (#966). 2020-07-20 01:33:15 -04:00
Richard Moore
78b350bbc5
Removed unnecessary dependency from BigNumber (#951). 2020-07-16 05:47:58 -04:00
Richard Moore
fe2f0f7489
Updated dist files. 2020-07-16 05:35:32 -04:00
Richard Moore
9f20258d5d
Longer Etherscan throttle slot interval. 2020-07-16 05:29:33 -04:00
Richard Moore
63dd3d4682
Fixed ENS overrides for the default provider (#959). 2020-07-16 05:27:36 -04:00
Richard Moore
b1166211e2
Updated dist files. 2020-07-15 14:00:36 -04:00
Richard Moore
7d43545303
Added Retry-After support and adjustable slot interval to fetchJson. 2020-07-14 22:50:05 -04:00
Richard Moore
6fa853b309
Updated dist files. 2020-07-14 02:33:30 -04:00
Richard Moore
88c7eaed06
Added initial throttling support (#139, #904, #926). 2020-07-14 02:26:45 -04:00
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