Commit Graph

455 Commits

Author SHA1 Message Date
Richard Moore
e45bc77cd9 tests: add faucet address to output for refilling 2023-08-02 23:51:09 -04:00
Richard Moore
c3971ab428 docs: updated jsdocs for flatworm generation 2023-08-02 23:48:42 -04:00
Richard Moore
25fef4f8d7 Fixed receipt wait not throwing on reverted transactions. 2023-08-02 19:07:50 -04:00
Richard Moore
ff80b04f31 Added custom priority fee to Optimism chain (via telegram). 2023-08-02 18:37:54 -04:00
Richard Moore
f3c46f2299 Add context to Logs that fail decoding due to ABI issues to help debugging. 2023-08-02 18:29:50 -04:00
Richard Moore
d32f81b3c3 Merge branch 'main' into v6.7.0-progress 2023-07-29 02:37:03 -04:00
Richard Moore
17969fe416 admin: updated dist files 2023-07-28 14:50:56 -04:00
Richard Moore
0dca645632 Prevent malformed logs from preventing other logs being decoded (#4275). 2023-07-28 14:48:55 -04:00
Richard Moore
3a52201fe2 Allow visibility on human-readable constructors (via telegram). 2023-07-28 14:14:23 -04:00
Richard Moore
b5724e4713 admin: updated dist files 2023-07-28 01:14:37 -04:00
Richard Moore
aa2ea3d529 Better error message when passing invalid overrides object into a contract deployment (#4182). 2023-07-28 01:13:21 -04:00
Richard Moore
b1dbbb0de3 Added new exports for FallbackProviderOptions and FetchUrlFeeDataNetworkPlugin (#2828, #4160). 2023-07-28 00:34:29 -04:00
Richard Moore
f42f258beb Allow overriding pollingInterval in JsonRpcProvider constructor (via discord). 2023-07-27 20:53:55 -04:00
Richard Moore
78538eb100 Fixed FallbackProvider priority sorting (#4150). 2023-07-27 20:51:07 -04:00
Richard Moore
d3e5e2c45b Added linea network to InfuraProvider and Network (#4184, #4190). 2023-07-27 20:49:02 -04:00
Richard Moore
82bb936542 Added whitelist support to getDefaultProvider. 2023-07-27 20:21:55 -04:00
Richard Moore
23704a9c44 Add Polygon RPC endpoints to the default provider (#3689). 2023-07-27 20:11:08 -04:00
Richard Moore
8f0a50921a Added customizable quorum to FallbackProvider (#4160). 2023-07-27 19:51:50 -04:00
Richard Moore
229145ddf5 Added basic Gas Station support via a NetworkPlugin (#2828). 2023-07-27 18:04:46 -04:00
Richard Moore
ec39abe067 Add BNB URLs to EtherscanProvider networks. 2023-07-26 17:07:38 -04:00
Richard Moore
ff9d124c60 admin: updated dist files 2023-07-24 17:48:37 -04:00
Richard Moore
ba36079a28 Added tests for JSON format (#4248). 2023-07-24 17:45:27 -04:00
Richard Moore
8c2652c8cb Use empty string for unnamed parameters in JSON output instead of undefined (#4248). 2023-07-24 17:44:42 -04:00
Richard Moore
5bf7b3494e Return undefined for Contract properties that do not exist instead of throwing an error (#4266). 2023-07-24 17:38:32 -04:00
Richard Moore
bcc4d8c870 admin: updated dist files 2023-07-24 00:06:04 -04:00
Richard Moore
ac2f5e563b Reflect symbols in the Contract Proxy to target (#4048). 2023-07-24 00:03:12 -04:00
Richard Moore
93af87c447 Allow arrays of address for indexed filter topics (#4259). 2023-07-23 23:58:16 -04:00
Richard Moore
fa3a883ff7 Fixed filter encoding for bytesX (#4244). 2023-07-23 23:48:47 -04:00
Richard Moore
a8bc49bdcf Fix JSON formatting for tuple arrays (#4237). 2023-07-23 22:50:49 -04:00
Richard Moore
e36b6c35b7 Better error messages when parsing fragment strings (#4246). 2023-07-23 12:59:10 -04:00
Richard Moore
450a176ee2 Include the missing fragment key and args when no matching Contract method or event is present (#3809). 2023-07-23 12:36:52 -04:00
Richard Moore
b1375f4e44 Prevent a single malformed event from preventing other Contract logs; reported on Discord. 2023-07-23 12:30:21 -04:00
Richard Moore
a7e4048fe3 More robust support for Signatures with less standard parameter values (#3835, #4228). 2023-07-16 00:33:50 -04:00
Richard Moore
330c318773 admin: updated dist files 2023-07-15 17:55:24 -04:00
Richard Moore
57f1e1c471 Fixed CCIP-read in the EnsResolver (#4221). 2023-07-15 17:51:38 -04:00
Richard Moore
19cbcaf3b0 docs: fixed typo in jsdocs 2023-07-15 17:46:53 -04:00
Richard Moore
492919d14f Skip checking confirmation count if confirms is 0 (#4229, #4242). 2023-07-15 17:45:37 -04:00
Richard Moore
43c253a402 Fixed waiting for confirmations in deployment transactions (#4212, #4230). 2023-07-15 17:25:46 -04:00
Richard Moore
1dd542721d admin: updated dist files 2023-07-11 20:55:58 -03:00
Richard Moore
80f62efc41 Throw more desscriptive error for unconfigured ENS name contract targets (#4213). 2023-07-11 20:54:37 -03:00
Richard Moore
7d061b786f Fixed contract once not running stop callback. 2023-07-11 20:42:43 -03:00
Richard Moore
3c17cf56b5 admin: updated dist files 2023-06-27 23:31:10 -02:30
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
3d141b44b5 Fixed formatUnits and parseUnits for values over 128 bits (#4037, #4133). 2023-06-27 10:58:22 -03:00
Richard Moore
857aa8ccc3 Prevent CCIP-read flags being passed to EtherscanProvider (#4043) 2023-06-23 00:33:43 -04:00
Richard Moore
3df09fcbe6 admin: updated dist files 2023-06-23 00:07:06 -04:00
Richard Moore
d51e3fbff4 Fixed CCIP read in contract calls (#4043). 2023-06-23 00:04:16 -04:00
Richard Moore
31cc4edf2c admin: updated dist files 2023-06-13 21:47:44 -04:00
Richard Moore
203a759efc Add exports for AbstractProviderOptions and for MulticoinProviderPlugin. 2023-06-13 21:41:33 -04:00
Richard Moore
de0f5189f6 Add option to adjust perform cache timeout in AbstractProvider. 2023-06-13 21:40:26 -04:00
Richard Moore
84375be92d Add full support for MultiCoin plugins and automatic detection for EVM-compatible coin types (#3888, #4081). 2023-06-13 16:26:40 -04:00
Richard Moore
2318005dfd Allow Interface instances where InterfaceAbi are allowed (#4142). 2023-06-13 16:22:40 -04:00
Richard Moore
9055ef6c69 Allow Numeric type for decimals in FixedNumber (#4141). 2023-06-12 22:11:08 -04:00
Richard Moore
026c5bb137 admin: updated dist files 2023-06-07 20:20:11 -04:00
Richard Moore
c448458633 docs: typo in jsdocs for eip number (#3992) 2023-06-07 20:14:12 -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
11956aee34 admin: updated dist files 2023-06-06 22:42:28 -04:00
Richard Moore
374fbaebcd docs: fixed jsdocs typo (#4023) 2023-06-06 22:37:18 -04:00
Richard Moore
9a14709def docs: fixed jsdocs typo (#4026) 2023-06-06 22:36:09 -04:00
Richard Moore
20c3d1b109 Fixed type guard for non-Typed instances (#4087). 2023-06-06 21:24:02 -04:00
Richard Moore
bb8685b112 Add confirmations to TransactionResponse (#4094). 2023-06-06 20:56:44 -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
7dcecfa47d docs: added jsdocs 2023-06-06 17:56:00 -04:00
Richard Moore
3235910f3b tests: remove pocket provider from tests 2023-06-05 22:41:31 -04:00
Richard Moore
8eb8cae8cd admin: updated dist files 2023-06-05 22:12:31 -04:00
Richard Moore
9b0e9920c0 Fix for networks with polling with non-consistent block and filter events (#4119). 2023-06-05 22:08:43 -04:00
Richard Moore
56ed4e7380 admin: updated dist files 2023-06-01 17:52:58 -04:00
Richard Moore
15ed2f5b32 Fixed AbstractProvider lookupAddress bug (#4086). 2023-06-01 17:51:21 -04:00
Richard Moore
d8e9586044 Fix FixedNumber comparison bug (#4112). 2023-06-01 17:48:56 -04:00
Richard Moore
bbcfb5f6b8 docs: added jsdocs and general documentation 2023-06-01 17:42:48 -04:00
Richard Moore
83d7f43b9c Coerce value into BigInt when checking for value. 2023-05-18 17:26:59 -04:00
Richard Moore
219b16dc28 Better errors when junk passed as Contract target (#3947, #4053). 2023-05-18 17:05:33 -04:00
Richard Moore
f58990b80c More robust message checking in socket providers (#4051). 2023-05-18 16:56:50 -04:00
Richard Moore
984f6fa155 More robust defaultProvider start-up when a backend fails on bootstrap (#3979). 2023-05-18 16:52:47 -04:00
Richard Moore
2e5935b91c Fix Result.map when Array contains zero elements (#4036, #4048). 2023-05-15 17:18:46 -04:00
Richard Moore
6db7458cf0 Fixed error handling for contracts with receive and non-payable fallback. 2023-05-15 16:49:02 -04:00
Richard Moore
f87f6ef9a0 Remove superfluous logging in defaultProvider. 2023-05-07 15:28:07 +09:00
Richard Moore
a09f58452e tests: fixed assert ordering 2023-05-07 02:13:03 +09:00
Richard Moore
1bc8b55d50 Removed superfluous logging. 2023-05-06 15:15:07 +09:00
Richard Moore
96d5e7b206 tests: added test-browser static files 2023-05-06 15:14:36 +09:00
Richard Moore
25ab579634 tests: simplified imports for browser testing 2023-05-06 15:03:58 +09:00
Richard Moore
c7b9be977c tests: added initial browser testing 2023-05-06 15:02:36 +09:00
Richard Moore
2b0fe61133 Fix receipt gas price when effectiveGasPrice is 0 on testnets (#4014). 2023-04-28 21:50:04 +09:00
Richard Moore
9f9d234a2d docs: added jsdocs to verifyMessage 2023-04-28 00:45:50 +09:00
Richard Moore
76d8fff581 admin: update dist files 2023-04-25 20:04:48 +09:00
Richard Moore
7e272a314f admin: adding better support for building on a wider variety of environments 2023-04-25 20:02:46 +09:00
Richard Moore
1d70807964 tests: added tests for ECC shared secrets 2023-04-25 20:00:12 +09:00
Richard Moore
af0291c016 Added error event to provider (#3970, #3982). 2023-04-24 20:09:45 +09:00
Richard Moore
e848978758 Removed superfluous parameters for internal transaction functions. 2023-04-24 19:37:05 +09:00
Richard Moore
7c0465c5fb More flexible static network checking (#3834). 2023-04-24 19:20:39 +09:00
Richard Moore
6cfe22b7e2 docs: updated transaction.value to specify in wei 2023-04-24 18:33:25 +09:00
Richard Moore
10e03e095b admin: update dist files 2023-04-19 17:30:37 +09:00
Richard Moore
a9b3edd2be docs: fixed typo (#3960) 2023-04-19 16:23:28 +09:00
Richard Moore
4e478e625d Populate any missing log.removed with false (#3959). 2023-04-19 15:45:54 +09:00
Richard Moore
0802b70a72 admin: updated dist files 2023-04-06 04:37:10 -04:00
Richard Moore
c764e9a10b admin: prevent duplicate definition error; research why this happened 2023-04-06 04:33:55 -04:00
Richard Moore
8c5973e3a9 Added support for legacy ABI JSON fragments (#3932). 2023-04-06 04:25:54 -04:00
Richard Moore
e4e951124f admin: added default fallback to exports for legacy tooling 2023-04-06 03:42:22 -04:00
Richard Moore
c58ab3a976 Add _in_ operator support for contract and contract.filters (#3901). 2023-04-06 02:46:47 -04:00
Richard Moore
9060dede49 tests: added testcases for twos compliments 2023-04-05 04:22:59 -04:00
Richard Moore
9cb2a9d89b docs: added Typed info 2023-04-05 04:20:48 -04:00
Richard Moore
a851b24d0a Fixed TypedData unsigned value range (#3873). 2023-04-05 04:20:21 -04:00
Richard Moore
356ff2becb Added missing export for getIndexedAccountPath (#3875). 2023-04-04 23:38:38 -04:00
Richard Moore
50b74b8806 Fixed TypedData payloads for JSON-restricted chainId field (#3868). 2023-04-04 23:18:48 -04:00
Richard Moore
130204dd3b admin: updated dist files 2023-03-27 21:22:35 -04:00
Richard Moore
ffaafc0ce1 Fixed events when emitted in WebSocketProvider (#3767, #3922). 2023-03-27 21:21:03 -04:00
Richard Moore
9373864742 admin: update dist files 2023-03-24 00:49:22 -04:00
Richard Moore
88e8124c37 Fixed FetchRequest when using credentials (#3897). 2023-03-23 23:31:31 -04:00
Richard Moore
c05a84aa65 admin: updated dist files 2023-03-23 17:33:55 -04:00
Richard Moore
603d47496e Stall block polling bootstrap when the network is down (#3924). 2023-03-23 17:08:46 -04:00
Richard Moore
0cfeed2633 tests: small tweaks to improve failing third-party testcases 2023-03-20 14:43:20 -04: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
6e01e5448f Remove Ankr as a deafult for now as the provided API key is failing. 2023-03-20 14:40:43 -04:00
Richard Moore
2e3802a83b Fixed deferred filters after unsafe-eval changes (#3749, #3763). 2023-03-20 13:32:50 -04:00
Richard Moore
e03390130c admin: updated dist files 2023-03-20 12:53:37 -04:00
Richard Moore
7d3af512c7 Remove use of Function sub-class to address unsafe-eval issues (#3749, #3763). 2023-03-20 12:49:58 -04:00
Richard Moore
5318b939fd tests: added contract integration tests and llocal Geth 2023-03-20 12:46:21 -04:00
Richard Moore
f06a445247 Added verifyTypedData utility (reported on Farcaster). 2023-03-20 11:31:35 -04:00
Richard Moore
e11d4c1c20 Removed stray logging in IpcProvider (#3908, #3909). 2023-03-18 13:27:47 -04:00
Richard Moore
fcf6c8fcee Fixed legacy serialization for implicit chainId transactions (#3898, #3899). 2023-03-16 12:11:46 -04:00
Richard Moore
3ad4273b8b Fix Webpack issue (reported on discord). 2023-03-16 10:19:33 -04:00
Richard Moore
8a02029c00 docs: fixed typo (#3864) 2023-03-13 01:10:42 -04:00
Richard Moore
4a581b9944 admin: added script to create github releases (#3784) 2023-03-12 05:41:15 -04:00
Richard Moore
47ef3ebde3 Fixed typo in signature.s error (#3891). 2023-03-12 04:50:42 -04:00
Richard Moore
f61ad27a8e docs: fixed typo (#3877) 2023-03-12 04:47:08 -04:00
Richard Moore
c220fe2ea7 Fixed stray unreachable code (#3890). 2023-03-12 04:45:12 -04:00
Richard Moore
8136a6476b docs: added more jsdocs to TransactionResponse 2023-03-11 01:02:24 -05:00
Richard Moore
02a0aad612 Move all wrapping to proper _wrap functions (#3818). 2023-03-10 07:02:51 -05:00
Richard Moore
abeaa74da0 Added Sepolia support (#3863). 2023-03-07 01:36:57 -05:00
Richard Moore
dced2b7dac admin: updated dist files 2023-03-03 18:25:07 -07:00
Richard Moore
06aa30363f Added missing exports (#3734). 2023-03-03 18:05:55 -07:00
Richard Moore
a32af3adc1 Allow null values for TypedData domain (#3623). 2023-03-03 17:59:58 -07:00
Richard Moore
287d94fc45 Added listAccounts to JsonRpcProvider (#3778). 2023-03-03 17:59:05 -07:00
Richard Moore
fe1f04c6e5 Allow BigInt for blockTag (#3780). 2023-03-03 17:44:08 -07:00
Richard Moore
f1a810dcb5 Fixed typo in error messages (#3822, #3824). 2023-02-28 21:18:27 -05:00
Richard Moore
4f2d1e1c7b docs: fixed typos in docs 2023-02-26 18:25:02 -05:00
Richard Moore
0d417ff2a9 admin: updated dist files 2023-02-23 06:31:09 -05:00
Richard Moore
20bbd12819 Fix matic-mumbai network and include aliases to legacy names (#3811). 2023-02-23 06:29:09 -05:00
Richard Moore
388edf6abc Fixed getSigner bug (#3821). 2023-02-23 06:20:39 -05:00
Richard Moore
3a0d8685ca admin: updated dist files 2023-02-23 01:41:13 -05:00
Richard Moore
b993f7c3b6 Fixed getContentHash (#3819). 2023-02-23 01:39:57 -05:00
Richard Moore
51e72b98a2 admin: update dist files 2023-02-22 21:53:56 -05:00
Richard Moore
8298e8599f admin: added changelog generation scripts 2023-02-22 21:52:33 -05:00
Richard Moore
fb3dffcc12 docs: fixed formatting of ignore character 2023-02-22 21:32:01 -05:00
Richard Moore
77a7323119 Added chain parameters for Arbitrum and Optimism (#3811). 2023-02-22 21:29:44 -05:00
Richard Moore
5a3c10a29c Fix NoneManager race condition (#3812, #3813). 2023-02-22 21:10:43 -05:00
Richard Moore
5715d611e7 admin: updated dist files 2023-02-18 22:18:42 -05:00
Richard Moore
399356b912 Fixed Result to behave correctly like an array using slice and toArray (#3787). 2023-02-18 21:42:01 -05:00