Commit Graph

753 Commits

Author SHA1 Message Date
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
Richard Moore
1fcf4b6ce6
Export Eip1193Bridge in experimental package. 2021-04-18 02:40:26 -04:00
Richard Moore
0cd5fccfad
Updated dist files. 2021-04-17 22:41:09 -04:00
Richard Moore
4577444c44
Prevent non-typed transactions from unsafely ignoring specified access lists (#1364). 2021-04-17 22:35:40 -04:00
Richard Moore
1cb3199e5c
Update tests for current EIP-2930 support across backends (#1364). 2021-04-17 22:23:18 -04:00
Richard Moore
ae0d5eb7c2
Removed underscore from the JsonRpcBatchProvider name (#62, #656, #892). 2021-04-17 18:12:08 -04:00
Richard Moore
b8df000c8f
Added better error detection when pre-EIP-155 transactions are disabled. 2021-04-17 18:10:27 -04:00
Richard Moore
eb1ec2f231
Fix Android React Native environment shims which crash on normalizing Korean test (#1298). 2021-04-17 18:08:00 -04:00
Richard Moore
b65508995c
Fixed EIP-2930 transactions for EtherscanProvider (#1364). 2021-04-14 15:04:24 -04:00
Richard Moore
bec066bcb5
Re-enable AlchemyProvider Berlin tests. 2021-04-02 19:10:16 -04:00
Richard Moore
d55ab6d4e6
Added experimental _JsonRpcBatchProvider (#62, #656, #892). 2021-04-02 03:53:48 -04:00
Richard Moore
1a7c4e89ef
Cache JsonRpcProvider requests for certain methods per event loop (#1371). 2021-04-02 03:45:47 -04:00
Richard Moore
3b1d3fcee6
Update dist files. 2021-03-30 15:22:45 -04:00
Richard Moore
81fd628292
Added BigNumber.toBigInt method (#1415). 2021-03-30 14:28:43 -04:00
Richard Moore
87ceaed4be
Abstracted Contract with BaseContract without meta-class properties for easier extensions (#1384). 2021-03-26 17:32:36 -04:00
Richard Moore
0e1721b130
Fixed Contract properties that collide with null member properties (#1393). 2021-03-26 16:37:08 -04:00
Richard Moore
c47d2eba4d
Added EIP-2930 support (#1364). 2021-03-26 16:16:56 -04:00
Richard Moore
1db4ce12d4
Added abstraction for EIP-2718 support. 2021-03-09 15:26:20 -05:00
Richard Moore
6c43e20e7a
Updated dist files. 2021-03-07 18:24:04 -05:00
Richard Moore
b2ecffb0c8
Bumped TypeScript to 4.2.2 (#1288). 2021-03-07 18:12:39 -05:00
Richard Moore
a953f71752
Fixed shims from not displaying debug information. 2021-03-07 17:37:49 -05:00
Richard Moore
c5a53d6911
Force TypedData numbers to be in decimal (#1193). 2021-02-25 00:46:10 -05:00
Richard Moore
bcda16df1d
Updated dist files. 2021-02-12 19:06:01 -05:00
Richard Moore
d937668dc1
Prevent unhandled rejections when passing nullish into Contract constructor (#1234). 2021-02-12 18:58:28 -05:00
Richard Moore
8279120e0a
Better error messaging when provider backends give bogus responses (#1243). 2021-02-12 18:52:44 -05:00
Richard Moore
243beffa4f
Prevent unconfigured ENS names from making an init tx (#1290). 2021-02-12 18:25:25 -05:00
Richard Moore
80cde06bcc
Updated dist files 2021-02-08 15:24:45 -05:00
Richard Moore
73e94349de
When in Status trigger personal_sign instead of eth_sign (#1285). 2021-02-08 14:46:04 -05:00
Richard Moore
796954f880
Bump elliptic version for CVE-2020-28498 (#1284). 2021-02-08 14:38:24 -05:00
Richard Moore
2333b6cfd2
Updated dist files. 2021-02-03 14:44:48 -05:00
Richard Moore
73b31b371f
Fixed typos in JSON ABI formatting (#1275). 2021-02-03 14:26:10 -05:00
Richard Moore
fd0cf2cc54
Updated dist files. 2021-02-02 17:32:11 -05:00
Richard Moore
27a981c84b
Added load balancer support to PocketProvider (#1052). 2021-02-02 17:05:47 -05:00
Richard Moore
29be1e37bc
Updated dist files. 2021-02-01 15:56:47 -05:00
Richard Moore
e727efc33e
Added support for networks with slightly incorrect EIP-658 implementations (#952, #1251). 2021-02-01 15:50:27 -05:00
Richard Moore
4af2c19f45
Added Pocket network to the default provider (#1030, #1052). 2021-02-01 14:40:02 -05:00
Richard Moore
4f67ecdf62
Updated dist files. 2021-01-31 21:12:58 -05:00
Richard Moore
3396846a30
Added TypeScript declaration maps (#401). 2021-01-19 05:22:54 -05:00
Richard Moore
5c27b45ac9
Updated dist files. 2021-01-13 14:49:25 -05:00
Richard Moore
20f6e16394
Better provider internal block management (#1084, #1208, #1221, #1235). 2021-01-13 14:42:15 -05:00
Richard Moore
2df9dd1120
Updated dist files. 2021-01-13 03:41:29 -05:00
Richard Moore
74470defda
Fixed abundant UnhandledRejectErrors in provider polling (#1084, #1208, #1221, #1235). 2021-01-13 03:16:27 -05:00
Richard Moore
8175c83026
Fixed non-checksum address comparisons in abstract Signer (#1236). 2021-01-12 21:43:49 -05:00
Richard Moore
e0ccafb140
Updated dist files. 2021-01-08 03:32:59 -05:00
Richard Moore
20335e96c2
Safety check on digest length for signing. 2020-12-19 15:26:16 -05:00
Richard Moore
a56a0a3336
Fixed listenerCount for contract when requesting for all events (#1205). 2020-12-18 03:56:14 -05:00
Richard Moore
0e6cc9a9a8
Lock package versions for the ESM builds (#1009). 2020-12-14 01:25:31 -05:00
Richard Moore
8e3cfd8517
Updated dist files. 2020-12-08 01:44:36 -05:00
Richard Moore
d3b1ac046a
Fixed EIP-712 getPayload dropping EIP712Domain from types for JSON-RPC calls (#687). 2020-12-08 01:37:44 -05:00
Richard Moore
1c4259881a
Updated dist files. 2020-11-25 15:30:58 -05:00
Richard Moore
45a2902874
Fix BigNumber when passed something with a length property (#1172). 2020-11-25 15:07:34 -05:00
Richard Moore
211defa27f
Upddated dist files. 2020-11-23 19:23:11 -05:00
Richard Moore
799896ac13
Added directory to repo field for each package. 2020-11-23 18:44:11 -05:00
Richard Moore
fb808d1362
Updated dist files. 2020-11-23 03:43:28 -05:00
Richard Moore
a8e3380ed5
Add ABI coder function to compute default values (#1101). 2020-11-23 00:59:44 -05:00
Richard Moore
95e2871966
Updated dist files. 2020-11-22 22:44:33 -05:00
Richard Moore
4a8d579dca
Fix for new versions of Geth which return formatted data on revert rather than standard data (#949). 2020-11-22 17:43:32 -05:00
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