Commit Graph

812 Commits

Author SHA1 Message Date
Richard Moore
83891f9258 Add EIP-2544 Wildcard support (#2477, #2582, #2583). 2022-02-18 18:15:03 -05:00
Richard Moore
c61f3bc2a0 docs: fixed import typo (#2397). 2022-02-03 15:36:34 -05:00
Richard Moore
18d8d1f34d docs: fixed typos (#2531). 2022-02-03 15:24:09 -05:00
Richard Moore
32c9a09762 admin: update dist files 2022-01-24 21:33:40 -05:00
Richard Moore
03545aa78b Support invalid but popular IPFS URI format (#2271, #2527, #2590). 2022-01-24 16:39:50 -05:00
Richard Moore
03152ea014 Include trouble-shooting URLs in errors (#2489). 2022-01-24 16:32:41 -05:00
Richard Moore
0578a88efa Updated dist files. 2022-01-06 03:53:52 -05:00
Richard Moore
3f5bc6ddc1 Fixed case-folding in schemes for ENS avatars (#2500). 2022-01-06 03:46:02 -05:00
Richard Moore
ab13887cda Added Kintsugi network (#2434). 2022-01-06 03:37:13 -05:00
Richard Moore
28f383300c admin: updated dist files 2021-12-24 03:09:45 -05:00
Richard Moore
4ba63acc10 Fix browser random in WebWorkers (#2405). 2021-12-24 02:05:10 -05:00
Richard Moore
3d6a7ec020 Add support for IPFS metadata imageUrl in getAvatar (#2426). 2021-12-24 01:41:41 -05:00
Richard Moore
2f57c6a4ab Do not swallow ENS not supported errors (#2387). 2021-12-24 01:08:54 -05:00
Richard Moore
eb432aa1f4 admin: updated dist files 2021-11-30 19:16:49 -05:00
Richard Moore
617714d196 Fixed test case for getAvatar; url has moved 2021-11-30 19:11:44 -05:00
Richard Moore
42784b8d38 Added basic redirect support. 2021-11-30 19:11:03 -05:00
Richard Moore
50d712d6af admin: updated dist files 2021-11-30 11:19:37 -05:00
Richard Moore
0844de4eb4 Added arbitrum and optimism to networks and providers (#2335). 2021-11-30 10:20:26 -05:00
Richard Moore
b8391b0e61 Added support for data URLs for avatar metadata. 2021-10-31 00:53:49 -04:00
Richard Moore
1e1c93effa Fixed getAvatar for unconfigured ENS names. 2021-10-31 00:05:27 -04:00
Richard Moore
b145898976
admin: updated dist files 2021-10-20 04:00:49 -04:00
Richard Moore
1bd91615ee
Fixed abstract Provider signature issue (#2190). 2021-10-20 03:54:24 -04:00
Richard Moore
d3079745c5
admin: updated dist files 2021-10-19 00:01:37 -04:00
Richard Moore
ecce86125d
Added ENS avatar support to provider (#2185). 2021-10-18 23:53:37 -04:00
Richard Moore
5899c8aec0
admin: updated dist files 2021-10-17 23:03:30 -04:00
Richard Moore
3de1b81501
Fixed splitSignature logic for verifying EIP-2930 and EIP-1559 v (#2084). 2021-10-17 22:56:57 -04:00
Richard Moore
ab319f2f4c
Include events on ContractFactory deployment transactions (#1334). 2021-10-17 21:38:47 -04:00
Richard Moore
5b94ce2966
admin: updated dist files 2021-10-17 16:23:46 -04:00
Richard Moore
91c577b611
Removed non-english tests from the browser. 2021-10-17 16:18:22 -04:00
Richard Moore
73a46efea3
admin: updated dist files 2021-10-16 02:29:27 -04:00
Richard Moore
a5c6a468f4
Better errors when non-string address or ENS name is passed into Contracts or provider methods (#1051). 2021-10-16 01:30:06 -04:00
Richard Moore
8947fd405e
Use personal_sign instead of eth_sign for message signing with JsonRpcSigner; added _legacySignMessage for legacy support (#1542, #1840). 2021-10-16 01:11:53 -04:00
Richard Moore
cb43a99405
Removed extra wordlists from the dist files (#2058, #2077). 2021-10-15 22:34:03 -04:00
Richard Moore
0a8be37b08
Fix issue when Solidity method collises with JavaScript prototype (#1432, #2054, #2120). 2021-10-15 21:32:48 -04:00
Richard Moore
6582ede1ce
Add support for Cloudflare Workers (#1886). 2021-10-05 16:57:51 -04:00
Richard Moore
f3c6d819f3
Added more information to some invalid argument errors (#1130). 2021-10-05 16:05:40 -04:00
Richard Moore
bee76a49b2
Fix compile-time error in new TypeScript version. 2021-10-05 15:48:14 -04:00
Richard Moore
68095a48ae
Adding customData support to transactions to assist L2 chains (#1761). 2021-10-05 15:47:26 -04:00
Richard Moore
0e5419ec79
Added some explicit null results to previously implicit null results for ENS (#1850). 2021-10-04 12:19:48 -04:00
Richard Moore
a48552a4fb
Added BigNumber _difficulty to Block results (#2001, #2036). 2021-10-04 12:09:44 -04:00
Richard Moore
d5b41ce210
Removed redundant call to normalizing blockTag (1838). 2021-10-04 11:48:36 -04:00
Richard Moore
fb6d141723
docs: fixed typos in comments; h/t @ly0va (#1838). 2021-10-04 11:46:24 -04:00
Richard Moore
7a404fb8ed
Fixed isBytes check for invalid length or elements (#1964). 2021-10-04 11:21:43 -04:00
Richard Moore
f8adf82e16
Fixed randomBytes not rejecting NaN as a length (#1977). 2021-10-04 11:08:58 -04:00
Richard Moore
8395cc146f
docs: fixed typo in providers README (#1979). 2021-10-04 10:59:37 -04:00
Richard Moore
cc250b2060
Allow any Networkish for getDefaultProvider (#2031). 2021-10-04 10:57:00 -04:00
Richard Moore
45f367512d
Stop allowing commas in fixed numbers; left over from legacy comma support (#2083). 2021-10-04 10:48:27 -04:00
Richard Moore
ad87b718a9
docs: fixed typos in comments (#2087). 2021-10-04 10:46:35 -04:00
Richard Moore
48c9e0bf39
Export FallbackProviderConfig (#2121). 2021-10-04 10:44:24 -04:00
Richard Moore
4166b2753d
Updated dist files. 2021-09-16 13:19:43 -04:00
Richard Moore
32a6b2a362
Fix parseUints with excess zeros and fix ReDoS issue (#2016, #1975, #1976). 2021-09-16 13:04:32 -04:00
Richard Moore
5762a1f83d
updated dist files. 2021-08-27 15:34:47 -04:00
Richard Moore
8320d534d7
Temporarily remove the block miner for clique-based networks from CI testing (#1967). 2021-08-27 15:29:52 -04:00
Richard Moore
c41b89a0c1
updated dist files. 2021-08-24 16:15:51 -03:00
Richard Moore
b6a061e7bf
More readable errors involving Uint8Arrays. 2021-08-24 16:08:27 -03:00
Richard Moore
a662490e82
Added Deferred Error support to Description objects to extent Interface parse methods (#1894). 2021-08-24 16:03:12 -03:00
Richard Moore
017b1feba2
Fix address coder to prepare non-hexdatastring addresses as hexdatastring (#1906). 2021-08-24 14:33:04 -03:00
Richard Moore
accb85268c
Removed temporary code for better errors needed until Alchemy added EIP-1559 support (#1893). 2021-08-23 23:02:32 -03:00
Richard Moore
f0b3bc32d5
Updated dist files. 2021-08-18 03:05:48 -03:00
Richard Moore
78e4273a32
Fxied getBlockWithTransactions results (1858). 2021-08-18 02:59:47 -03:00
Richard Moore
4e9394554b
Updated dist files. 2021-08-04 01:39:05 -03:00
Richard Moore
1d27d95670
Fixed Etherscan API key in default provider (#1807). 2021-08-04 01:32:30 -03:00
Richard Moore
2e431a5002
Temporarily remove Pocket fro provider tests. 2021-08-04 01:28:54 -03:00
Richard Moore
da4e107268
Update dist files. 2021-08-02 22:57:45 -03:00
Richard Moore
7175e2e99c
Adjust default masPriorityFeePerGas to account for MEV-heavy blocks (#1817). 2021-08-02 22:52:29 -03:00
Richard Moore
68229ac0af
Updated dist files. 2021-07-29 23:30:17 -04:00
Richard Moore
7274cd06cf
Fixed JsonRpcProvider for pre-EIP-2930 chains (#1766). 2021-07-29 23:20:56 -04:00
Richard Moore
be3854e648
Forward some missing EIP-1559 fields to call and estimateGas (#1766). 2021-07-29 23:12:29 -04:00
Richard Moore
63f8b28223
Fixed possible UnhandledPromiseException for bad ENS names. 2021-07-29 23:11:06 -04:00
Richard Moore
593b4886ff
Prevent overriding value for non-payble constructors (#1785). 2021-07-29 17:25:19 -04:00
Richard Moore
6d1904c379
Updated dist files. 2021-07-23 17:24:05 -04:00
Richard Moore
0aafca71db
Fix test case for new transactions responses. 2021-07-23 17:17:43 -04:00
Richard Moore
0d40156fcb
Updated dist files. 2021-07-23 02:21:24 -04:00
Richard Moore
576e9b54ab
Added matic support to INFURA and Alchemy (#1546). 2021-07-23 02:13:35 -04:00
Richard Moore
bc5cc2e7e3
Added string change to coalesce errors on some clients. 2021-07-23 01:52:43 -04:00
Richard Moore
660e69db71
Added wait to transactions returned by getBlockWithTransactions (#971). 2021-07-22 20:04:07 -04:00
Richard Moore
551cfa0062
Fixed floor, ceiling and round for FixedNumber for non-default Formats (#1749). 2021-07-22 19:40:49 -04:00
Richard Moore
0f0d0c00d3
Fixed null confirmations in Wallet transaction (#1706). 2021-07-06 00:07:32 -04:00
Richard Moore
a1f8d188a7
Fixed Etherscan string change and enabled all tests. 2021-07-03 00:45:03 -04:00
Richard Moore
bde861436e
updated dist files. 2021-07-02 01:49:02 -04:00
Richard Moore
6e8a39ec35
Added Pocket back into Homestead defaultProvider and skip certain EtherscanProvider tests affected by outage. 2021-07-02 01:42:16 -04:00
Richard Moore
ecae793edf
Fixed EtherscanProvider NONCE_EXPIRED matching string update. 2021-07-02 00:18:53 -04:00
Richard Moore
a0fa92c075
updated dist files. 2021-06-29 12:25:07 -04:00
Richard Moore
72feee8f58
Fixed explicit EIP-1559 keys for JsonRpcSigner. 2021-06-29 11:57:53 -04:00
Richard Moore
71b7547f10
Update dist files. 2021-06-26 01:55:19 -04:00
Richard Moore
4970385e7b
Fixing up testcases for non-eip-1559 ready platforms (#1610). 2021-06-26 01:44:12 -04:00
Richard Moore
0364dd9368
Added some provider-specific adjustments to deal with eip-1559 (#1610). 2021-06-25 22:58:55 -04:00
Richard Moore
e95708eedc
Updated gasPrice to be optional for eip-1559 (#1610). 2021-06-25 22:58:01 -04:00
Richard Moore
ba6854bdd5
Added effectiveGasPrice to receipt. 2021-06-25 22:57:05 -04:00
Richard Moore
1e31b34a5a
Fixed ENS names for JsonRpcSigner. 2021-06-25 00:02:08 -04:00
Richard Moore
7deb4c174a
Added EIP-2930 and EIP-1559 transaction tests. 2021-06-24 23:49:59 -04:00
Richard Moore
f053a7ad58
Renamed Interface error coding methods. 2021-06-24 19:34:27 -04:00
Richard Moore
b1affdbc10
Fixed documentation on FallbackProvider priority (#1713). 2021-06-24 18:07:33 -04:00
Richard Moore
c2c0ce7503
Updated dist files. 2021-06-24 02:13:06 -04:00
Richard Moore
7efc36df29
Added ConstructorFragment to exports. 2021-06-24 01:29:13 -04:00
Richard Moore
720bde7719
Added error utilities to Interface. 2021-06-24 01:25:31 -04:00
Richard Moore
319987ec3e
Fixed EIP-1559 from address calculation bug (#1610). 2021-06-24 00:46:53 -04:00
Richard Moore
2a7ce0e72a
merged master including transaction type 0 legacy constant (#1610). 2021-06-24 00:02:50 -04:00
Richard Moore
d001901c8c
Added type to TransactionResponse and TrnsactionReceipt (#1687). 2021-06-23 23:39:57 -04:00
Richard Moore
91951dc825
Trap CALL_EXCEPTION errors when resolving ENS entries (#1690). 2021-06-21 23:25:37 -04:00
Richard Moore
8277f5a62a
Fixed transaction serialization with explicit null type (#1628). 2021-06-21 21:21:35 -04:00
Richard Moore
e8a0144b7a
Fix issue with loading JSON ABI with internalType property (#728). 2021-06-21 21:12:25 -04:00
Richard Moore
91fff1449d
Better baseFee calculation (#1610). 2021-06-14 23:42:11 -04:00
Richard Moore
c5bca7767e
Refactored eip-1559 logic (#1610). 2021-06-14 22:24:14 -04:00
Richard Moore
412bbe2939
Updated dist files. 2021-06-10 18:29:05 -04:00
Richard Moore
ee82e86ccc
Fixed replacement transaction detection for JsonRpcSigner (#1658). 2021-06-10 18:22:02 -04:00
Richard Moore
376cf3cdbf
Added Matic testnet info to networks (#1546). 2021-06-10 18:01:23 -04:00
Richard Moore
a6e128f5cc
Match Solidity identifier regex (#1657). 2021-06-10 17:47:17 -04:00
Richard Moore
5456c35924
Added EIP-1559 overrides to contracts (#1610). 2021-06-10 17:42:20 -04:00
Richard Moore
4e6d121fb8
Updated dist files. 2021-05-31 19:06:24 -04:00
Richard Moore
bfcd05fcbb
Added MinInt256 and MaxInt256 constants (#1576). 2021-05-31 18:32:33 -04:00
Richard Moore
819b1ace5c
Version bumps for bn.js and hash.js to match elliptic and fix some build tools (#1478). 2021-05-31 18:29:26 -04:00
Richard Moore
4b331148d9
Removed Hangul checks in shims which crashes Android (#1519). 2021-05-31 18:20:32 -04:00
Richard Moore
7adcf3b154
Fixed ENS namehash with leading and trailing dots (#1605). 2021-05-31 18:16:30 -04:00
Richard Moore
630656e949
Fixed broken variable in template string (#1624, #1626). 2021-05-31 17:40:32 -04:00
Richard Moore
8681cd5969
Fixed FixedNumber rounding for non-default formats (#1629). 2021-05-31 17:37:56 -04:00
Richard Moore
470551e4ee
Update ws dependency version to fix security (#1633, #1634). 2021-05-31 15:46:47 -04:00
Richard Moore
7a12216cfb
Initial EIP-1559 support (#1610). 2021-05-30 17:47:04 -04:00
Richard Moore
8077ce0aae
Updated dist files. 2021-05-19 00:05:36 -04:00
Richard Moore
2fe78ad7e3
ci: Removing Pocket network from the default provider and tests as it is not currently reliable 2021-05-19 00:00:10 -04:00
Richard Moore
5f1f2c5e2c
Updated dist files 2021-05-18 16:02:27 -04:00
Richard Moore
621897f249
More resiliant testing. 2021-05-18 15:52:32 -04:00
Richard Moore
dad3829c2e
Updated dist files. 2021-05-17 16:19:36 -04:00
Richard Moore
3316468e3e
More aggresively check for mempool transactions sent from JsonRpcSigner. 2021-05-13 23:29:59 -04:00
Richard Moore
5144acf456
Added initial support for detecting replacement transactions (#1477). 2021-05-13 23:28:47 -04:00
Richard Moore
aadc5cd3d6
Added convenience method for HD path derivation. 2021-05-13 23:02:00 -04:00
Richard Moore
6e088099ad
Added mnemonicPath option to cli. 2021-05-13 22:59:16 -04:00
Richard Moore
b6370f1360
Added some popular Ethereum-compatible chains to networks. 2021-05-13 22:58:16 -04:00
Richard Moore
26464c5425
Added debug event to Web3Provider. 2021-05-13 22:27:13 -04:00
Richard Moore
37a9c77ab2
Abstracted EtherscanProivder to more easily fascilitate other Etherscan-supported chains (#1204, #1473). 2021-05-07 00:31:15 -04:00
Richard Moore
483d67f55c
Added EIP-838 error name as well as error signature (#1498). 2021-04-26 17:46:16 -04:00
Richard Moore
987bec87af
Added new error for replaced transactions (#1477). 2021-04-26 12:06:37 -04:00
Richard Moore
a9cdbe1238
More flexible FixedNumber input and output for strings with no decimals (#1019, #1291, #1463). 2021-04-23 18:41:00 -04:00
Richard Moore
4e9abfdee4
Added hex support for bigint (#1472). 2021-04-23 17:44:22 -04:00
Richard Moore
3bb5fbf533
Added support for null entries in EventFilter (#1499). 2021-04-23 17:43:27 -04:00
Richard Moore
cadccc3060
Add bigint to allowed BigNumberish types (#1472). 2021-04-22 22:34:06 -04:00
Richard Moore
65196097f6
Support for EIP-838 custom contract errors (#1498). 2021-04-22 22:29:30 -04:00
Richard Moore
8e22e0260e
Minor version bump. 2021-04-22 22:10:56 -04:00
Richard Moore
a9f7957550
Updated dist files. 2021-04-22 06:34:02 -04:00
Richard Moore
bd05aed070
Do not throw on ABI _error_ type (#1493, #1497). 2021-04-22 06:26:56 -04:00
Richard Moore
ce8f1e4015
Updated dist files. 2021-04-19 21:30:28 -04:00
Richard Moore
58488e78f9
Fixed JsonRpcProvider event-loop caching when using any network (#1484). 2021-04-19 20:56:18 -04:00
Richard Moore
29116593ba
Updated experimental Eip1193Bridge to support final EIP-1193 API. 2021-04-19 20:52:50 -04:00
Richard Moore
51f0e1a52f
Fail early for ABI decoding that will obviously run out of data (#1486). 2021-04-19 20:26:05 -04:00
Richard Moore
c086962302
Fixed BigNumber toBigInt return type (#1485). 2021-04-19 20:09:39 -04:00
Richard Moore
c0daf437f7
Updated dist files. 2021-04-18 19:33:26 -04:00
Richard Moore
8eaeba35f5
Increase provider tests gas price for sending a transaction. 2021-04-18 19:26:39 -04:00
Richard Moore
4a44865a8c
Fixed run-checking non-filter Contract events (#1458). 2021-04-18 19:23:27 -04:00
Richard Moore
725fe0aa32
Updated dist files. 2021-04-18 02:48:05 -04:00
Richard Moore
08adc18a68
Increased sendTransaction timeout to 15 minutes and pull Pocket from tx tests. 2021-04-18 02:42:20 -04:00