Commit Graph

32 Commits

Author SHA1 Message Date
Richard Moore
180221574c Fix uncatchable issue when sending transactions over JSON-RPC and provide some retry-recovery for missing v (#4513). 2023-12-19 04:52:38 -05:00
Richard Moore
f8f11c754a Use provider-specified suggested priority fee when available, otherwise fallback onto existing logic of 1 gwei (#4463). 2023-11-27 06:04:52 -05:00
Richard Moore
4681b83d51 Add auto-detected static network support to providers and allow customizing socket provider options (#4199, #4418, #4441). 2023-11-27 05:23:10 -05:00
Richard Moore
7d4173049e Prevent destroyed providers from emitting network detection errors. 2023-08-15 03:07:03 -04:00
Richard Moore
f42f258beb Allow overriding pollingInterval in JsonRpcProvider constructor (via discord). 2023-07-27 20:53:55 -04:00
Richard Moore
9197f9f938 Wider error detection for call exceptions on certain backends (#4154, #4155). 2023-06-27 23:28:57 -02:30
Richard Moore
1dc8986a33 Added wider error deetection for JSON-RPC unsupported operation (#4162). 2023-06-27 11:18:21 -03:00
Richard Moore
de0f5189f6 Add option to adjust perform cache timeout in AbstractProvider. 2023-06-13 21:40:26 -04:00
Richard Moore
8dd21f0333 Fix lost promise fulfillment when a batch has an error response (#4126). 2023-06-07 20:09:29 -04:00
Richard Moore
3c1bad2fb7 Fix stray promises when a node returns invalid results (#4118). 2023-06-06 19:24:19 -04:00
Richard Moore
f37a52da28 Added support to detect and stop providers spinning on intitial network detection (#4015). 2023-06-06 17:58:06 -04:00
Richard Moore
bbcfb5f6b8 docs: added jsdocs and general documentation 2023-06-01 17:42:48 -04:00
Richard Moore
7c0465c5fb More flexible static network checking (#3834). 2023-04-24 19:20:39 +09:00
Richard Moore
30ffa78d14 Added extra details in the error info field for RPC errors. 2023-03-20 14:42:19 -04:00
Richard Moore
287d94fc45 Added listAccounts to JsonRpcProvider (#3778). 2023-03-03 17:59:05 -07:00
Richard Moore
388edf6abc Fixed getSigner bug (#3821). 2023-02-23 06:20:39 -05:00
Richard Moore
400d57621b Fixed ignored polling override for JsonRpcApiProvider. 2023-02-12 22:03:37 -05:00
Richard Moore
924cfef5de Fixed estimateGas which can return insufficient funds errors. 2023-01-27 18:29:35 -05:00
Richard Moore
e55a87ad4c Fixed JsonRpcProvider for picky Geth instances. 2023-01-17 13:51:32 -05:00
Richard Moore
65c7df1ee8 Use case-insensitive matching for JSON-RPC error strings. 2022-12-30 16:27:46 -05:00
Richard Moore
01d99a601a Fxied Timer type (#3540). 2022-11-30 17:19:21 -05:00
Richard Moore
f5281a0342 docs: added more jsdocs for providers 2022-11-30 13:44:47 -05:00
Richard Moore
1f4499c174 Small refactoring of providers. 2022-11-27 21:58:07 -05:00
Richard Moore
3db5864041 Switched to assert instead of throwArgument. 2022-11-04 18:08:37 -04:00
Richard Moore
e5c068c395 Converted throwArgumentError to assertArgument. 2022-10-25 04:06:00 -04:00
Richard Moore
a667dcbebe Sync testnets with v5 updates and update to new CALL_EXCEPTION model. 2022-10-20 04:54:26 -04:00
Richard Moore
e14cca31ba Refactor provider model for better socket provider support. 2022-09-29 21:53:25 -04:00
Richard Moore
ee06989ba3 Refactored JsonRpcApiProvider and the Provider model. 2022-09-17 23:17:52 -04:00
Richard Moore
067536a837 Added error coalescence back to JsonRpcApiProvider. 2022-09-15 22:56:48 -04:00
Richard Moore
edcba76366 docs: added more jsdocs 2022-09-15 22:30:27 -04:00
Richard Moore
29949a6309 Replaced logger class with simpler functions. 2022-09-08 23:21:08 -04:00
Richard Moore
f5336c19b1 Initial code drop for v6-beta-exports. 2022-09-05 16:14:43 -04:00