Commit Graph

672 Commits

Author SHA1 Message Date
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