-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FallbackProvider instantiation fails when providers.length === 1
#4160
Comments
Thanks! Good catch. This will be fixed with the addition of FallbackProviderOptions to customize the quorum weight. Should come out in the next day or so. |
Amazing |
@jxom I also dealt with this (and handled the type in #4149 😅 ) - replaced with this:
as the required |
That will not affect the logic, but it should have that config exposed since it should be generalized. It’s coming. :p |
The ability to configure the quorum has been added in v6.7.0, as well as the default being half the total configured weight (ceiling). When using Let me know if you have any further issues! Thanks! :) |
<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to upgrade ethers from 5.7.2 to 6.8.0.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> *Warning:* This is a major version upgrade, and may be a breaking change. - The recommended version is **57 versions** ahead of your current version. - The recommended version was released **24 days ago**, on 2023-10-11. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>ethers</b></summary> <ul> <li> <b>6.8.0</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.8.0">2023-10-11</a></br><ul> <li>Replicated former ENS normalize behaviour for empty strings and update namehash testcases (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/125ff1189b9cefb8abfd7da9c104c75e382a50cc">125ff11</a>).</li> <li>Initial shortMessage support for errors (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4241" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4241/hovercard">ethereum#4241</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/d6a8c14d907cf8b90347444c0186b83a5db2e293">d6a8c14</a>).</li> <li>Fixed resolving ENS addresses used as from parameters (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/3961" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/3961/hovercard">ethereum#3961</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/2616f4c30c82bd45449b73fa37ef269d60a07d80">2616f4c</a>).</li> <li>Merge: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ethers-io/ethers.js/commit/9a4b7534458fc79a0654b0eb57fc956bffa02a2f/hovercard" href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/9a4b7534458fc79a0654b0eb57fc956bffa02a2f"><tt>9a4b753</tt></a> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ethers-io/ethers.js/commit/0c9c23b02dcd235887a6be87c0aaa64c733266cc/hovercard" href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/0c9c23b02dcd235887a6be87c0aaa64c733266cc"><tt>0c9c23b</tt></a> Merge branch 'v5.8-progress' (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/cd5f0fe03f2137fbc47e295f8db38a5151111e72">cd5f0fe</a>).</li> <li>Allow more loose input format for RLP encoder (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4402" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4402/hovercard">ethereum#4402</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/9a4b7534458fc79a0654b0eb57fc956bffa02a2f">9a4b753</a>).</li> <li>Update to latest noble crypto libraries (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/3975" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/3975/hovercard">ethereum#3975</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/b27faa02ac8f90e2e54b188e8139c59d98c469e3">b27faa0</a>).</li> <li>More robust configuration options for FetchRequest getUrl functions (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4353" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4353/hovercard">ethereum#4353</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/9541f2f70cd7f5c6f3caf93f5a3d5e34eae5281a">9541f2f</a>).</li> <li>Ignore blockTag when calling Etherscan if it is the default block tag (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/dcea9b353619d85878ad2ba340ae17e5c285d558">dcea9b3</a>).</li> </ul> </li> <li> <b>6.7.1</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.7.1">2023-08-15</a></br><ul> <li>Prevent destroyed providers from emitting network detection errors (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/7d4173049edc3b4ff2de1971c3ecca3b08588651">7d41730</a>).</li> <li>Fix VSCode reported lint issues (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4153" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4153/hovercard">ethereum#4153</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4156" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4156/hovercard">ethereum#4156</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4158" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4158/hovercard">ethereum#4158</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4159" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4159/hovercard">ethereum#4159</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/4eb84da865a82a27c5113c38102b6b710096958e">4eb84da</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/203dfc33b9c8e72c9cdfe0a349ac763ef17a4484">203dfc3</a>).</li> <li>Add gasPrice to Polygon feeData for type 0 and type 1 legacy transactions (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4315" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4315/hovercard">ethereum#4315</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/0df3ab93137039de1e1986bbfe9a5b32ceffa8a4">0df3ab9</a>).</li> </ul> </li> <li> <b>6.7.0</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.7.0">2023-08-03</a></br><ul> <li>Fixed receipt wait not throwing on reverted transactions (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/25fef4f8d756f5bbf5a2a05e38233248a8eb43ac">25fef4f</a>).</li> <li>Added custom priority fee to Optimism chain (via telegram) (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/ff80b04f31da21496e72d3687cecd1c01efaecc5">ff80b04</a>).</li> <li>Add context to Logs that fail decoding due to ABI issues to help debugging (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/f3c46f22994d194ff78b3b176407b2ecb7af1c77">f3c46f2</a>).</li> <li>Added new exports for FallbackProviderOptions and FetchUrlFeeDataNetworkPlugin (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/2828" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/2828/hovercard">ethereum#2828</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4160" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4160/hovercard">ethereum#4160</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/b1dbbb0de3f10a3d9e12d6a84ad5c52bea25c7f6">b1dbbb0</a>).</li> <li>Allow overriding pollingInterval in JsonRpcProvider constructor (via discord) (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/f42f258beb305a06e563ad16522f095a72da32eb">f42f258</a>).</li> <li>Fixed FallbackProvider priority sorting (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4150" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4150/hovercard">ethereum#4150</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/78538eb100addd135d29e60c9fa4fed3946278fa">78538eb</a>).</li> <li>Added linea network to InfuraProvider and Network (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4184" data-hovercard-type="discussion" data-hovercard-url="/ethers-io/ethers.js/discussions/4184/hovercard">ethereum#4184</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4190" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4190/hovercard">ethereum#4190</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/d3e5e2c45b28c377f306091acfc024e30c49ef20">d3e5e2c</a>).</li> <li>Added whitelist support to getDefaultProvider (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/82bb936542e29c6441ac8dc2d3ebbdd4edb708ee">82bb936</a>).</li> <li>Add Polygon RPC endpoints to the default provider (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/3689" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/3689/hovercard">ethereum#3689</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/23704a9c44d5857817e138fb19d44ce2103ca005">23704a9</a>).</li> <li>Added customizable quorum to FallbackProvider (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4160" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4160/hovercard">ethereum#4160</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/8f0a50921a12a866addcf5b0fabc576bfc287689">8f0a509</a>).</li> <li>Added basic Gas Station support via a NetworkPlugin (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/2828" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/2828/hovercard">ethereum#2828</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/229145ddf566a962517588eaeed155734c7d4598">229145d</a>).</li> <li>Add BNB URLs to EtherscanProvider networks (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/ec39abe067259fad4ea8607a6c5aece61890eb41">ec39abe</a>).</li> <li>Added tests for JSON format (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4248" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4248/hovercard">ethereum#4248</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/ba36079a285706694532ce726568c4c447acad47">ba36079</a>).</li> <li>Use empty string for unnamed parameters in JSON output instead of undefined (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4248" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4248/hovercard">ethereum#4248</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/8c2652c8cb4d054207d89688d30930869d9d3f8b">8c2652c</a>).</li> <li>Return undefined for Contract properties that do not exist instead of throwing an error (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4266" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4266/hovercard">ethereum#4266</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/5bf7b3494ed62952fc387b4368a0bdc86dfe163e">5bf7b34</a>).</li> </ul> </li> <li> <b>6.6.7</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.7">2023-07-28</a></br><ul> <li>Prevent malformed logs from preventing other logs being decoded (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4275" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4275/hovercard">ethereum#4275</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/0dca645632d73488bf6ad460e0d779361a537bbe">0dca645</a>).</li> <li>Allow visibility on human-readable constructors (via telegram) (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/3a52201fe2ba68a00105cca2c0901da5ffa18d6b">3a52201</a>).</li> </ul> </li> <li> <b>6.6.6</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.6">2023-07-28</a></br><ul> <li>Better error message when passing invalid overrides object into a contract deployment (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4182" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4182/hovercard">ethereum#4182</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/aa2ea3d5296956fd0d40b83888e1ca053bb250ee">aa2ea3d</a>).</li> </ul> </li> <li> <b>6.6.5</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.5">2023-07-24</a></br><ul> <li>Reflect symbols in the Contract Proxy to target (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4048" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4048/hovercard">ethereum#4048</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/ac2f5e563b8ec0e91a931470eb6ea58b0c01fb3d">ac2f5e5</a>).</li> <li>Allow arrays of address for indexed filter topics (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4259" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4259/hovercard">ethereum#4259</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/93af87c447eeb77090e29bd940612603b3f74026">93af87c</a>).</li> <li>Fixed filter encoding for bytesX (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4244" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4244/hovercard">ethereum#4244</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/fa3a883ff7c88611ce766f58bdd4b8ac90814470">fa3a883</a>).</li> <li>Fix JSON formatting for tuple arrays (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4237" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4237/hovercard">ethereum#4237</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/a8bc49bdcf07a51b35f38cf209db27e116cc1a59">a8bc49b</a>).</li> <li>Better error messages when parsing fragment strings (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4246" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4246/hovercard">ethereum#4246</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/e36b6c35b7bc777c9adbe0055b32b31a13185240">e36b6c3</a>).</li> <li>Include the missing fragment key and args when no matching Contract method or event is present (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/3809" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/3809/hovercard">ethereum#3809</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/450a176ee25f88a2ddb9ff23b153ef70bf1dc546">450a176</a>).</li> <li>Prevent a single malformed event from preventing other Contract logs; reported on Discord (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/b1375f4e4463b856855ebc684b45945455ac082e">b1375f4</a>).</li> </ul> </li> <li> <b>6.6.4</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.4">2023-07-16</a></br><ul> <li>More robust support for Signatures with less standard parameter values (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/3835" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/3835/hovercard">ethereum#3835</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4228" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4228/hovercard">ethereum#4228</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/a7e4048fe3b75a743cec8c8ef2a5fad4bdc8b14c">a7e4048</a>).</li> <li>Fixed CCIP-read in the EnsResolver (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4221" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4221/hovercard">ethereum#4221</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/57f1e1c47148921148e35c10c83539531942923e">57f1e1c</a>).</li> <li>Skip checking confirmation count if confirms is 0 (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4229" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4229/hovercard">ethereum#4229</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4242" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4242/hovercard">ethereum#4242</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/492919d14f646c630f29e1596e5564df1e51f309">492919d</a>).</li> <li>Fixed waiting for confirmations in deployment transactions (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4212" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4212/hovercard">ethereum#4212</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4230" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4230/hovercard">ethereum#4230</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/43c253a402f52a08353c424f6c4e236836cfaf36">43c253a</a>).</li> </ul> </li> <li> <b>6.6.3</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.3">2023-07-12</a></br><ul> <li>Throw more desscriptive error for unconfigured ENS name contract targets (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4213" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4213/hovercard">ethereum#4213</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/80f62efc41c3a29e690af40a1976928b7f886a0e">80f62ef</a>).</li> <li>Fixed contract once not running stop callback (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/7d061b786f72cbfc461bf80d139d10aeff533a6e">7d061b7</a>).</li> </ul> </li> <li> <b>6.6.2</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.2">2023-06-28</a></br><ul> <li>Wider error detection for call exceptions on certain backends (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4154" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4154/hovercard">ethereum#4154</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4155" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4155/hovercard">ethereum#4155</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/9197f9f938b5f3b5f97c043f2dab06854656c932">9197f9f</a>).</li> <li>Added wider error deetection for JSON-RPC unsupported operation (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4162" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4162/hovercard">ethereum#4162</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/1dc8986a33be9dce536b24189326cbfaabf1342e">1dc8986</a>).</li> <li>Fixed formatUnits and parseUnits for values over 128 bits (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4037" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4037/hovercard">ethereum#4037</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4133" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4133/hovercard">ethereum#4133</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/3d141b44b528f52b3c9205125b64ce342f91643c">3d141b4</a>).</li> </ul> </li> <li> <b>6.6.1</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.1">2023-06-23</a></br><ul> <li>Fixed CCIP read in contract calls (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4043" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4043/hovercard">ethereum#4043</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/d51e3fbff43c31d88353ac71151626312d22c0b9">d51e3fb</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/857aa8ccc30f25eda8e83dcac3e0ad2c1a5ce2b3">857aa8c</a>).</li> </ul> </li> <li> <b>6.6.0</b> - 2023-06-14 </li> <li> <b>6.5.1</b> - 2023-06-08 </li> <li> <b>6.5.0</b> - 2023-06-07 </li> <li> <b>6.4.2</b> - 2023-06-06 </li> <li> <b>6.4.1</b> - 2023-06-02 </li> <li> <b>6.4.0</b> - 2023-05-20 </li> <li> <b>6.3.0</b> - 2023-04-07 </li> <li> <b>6.2.3</b> - 2023-03-28 </li> <li> <b>6.2.2</b> - 2023-03-24 </li> <li> <b>6.2.1</b> - 2023-03-23 </li> <li> <b>6.2.0</b> - 2023-03-20 </li> <li> <b>6.1.0</b> - 2023-03-07 </li> <li> <b>6.0.8</b> - 2023-02-23 </li> <li> <b>6.0.7</b> - 2023-02-23 </li> <li> <b>6.0.6</b> - 2023-02-23 </li> <li> <b>6.0.5</b> - 2023-02-19 </li> <li> <b>6.0.4</b> - 2023-02-16 </li> <li> <b>6.0.3</b> - 2023-02-13 </li> <li> <b>6.0.2</b> - 2023-02-04 </li> <li> <b>6.0.1</b> - 2023-02-04 </li> <li> <b>6.0.0</b> - 2023-02-03 </li> <li> <b>6.0.0-beta-exports.16</b> - 2023-02-02 </li> <li> <b>6.0.0-beta-exports.15</b> - 2023-01-31 </li> <li> <b>6.0.0-beta-exports.14</b> - 2023-01-27 </li> <li> <b>6.0.0-beta-exports.13</b> - 2023-01-27 </li> <li> <b>6.0.0-beta-exports.12</b> - 2023-01-27 </li> <li> <b>6.0.0-beta-exports.11</b> - 2023-01-22 </li> <li> <b>6.0.0-beta-exports.10</b> - 2023-01-15 </li> <li> <b>6.0.0-beta-exports.9</b> - 2022-12-30 </li> <li> <b>6.0.0-beta-exports.8</b> - 2022-12-10 </li> <li> <b>6.0.0-beta-exports.7</b> - 2022-11-30 </li> <li> <b>6.0.0-beta-exports.6</b> - 2022-11-09 </li> <li> <b>6.0.0-beta-exports.5</b> - 2022-11-09 </li> <li> <b>6.0.0-beta-exports.4</b> - 2022-10-01 </li> <li> <b>6.0.0-beta-exports.3</b> - 2022-09-30 </li> <li> <b>6.0.0-beta-exports.2</b> - 2022-09-27 </li> <li> <b>6.0.0-beta-exports.1</b> - 2022-09-16 </li> <li> <b>6.0.0-beta-exports.0</b> - 2022-09-05 </li> <li> <b>6.0.0-beta.9</b> - 2022-04-20 </li> <li> <b>6.0.0-beta.8</b> - 2022-04-20 </li> <li> <b>6.0.0-beta.7</b> - 2022-04-20 </li> <li> <b>6.0.0-beta.6</b> - 2022-04-20 </li> <li> <b>6.0.0-beta.5</b> - 2022-04-19 </li> <li> <b>6.0.0-beta.4</b> - 2022-04-17 </li> <li> <b>6.0.0-beta.3</b> - 2022-04-14 </li> <li> <b>6.0.0-beta.2</b> - 2022-04-11 </li> <li> <b>6.0.0-beta.1</b> - 2022-04-11 </li> <li> <b>5.7.2</b> - 2022-10-19 </li> </ul> from <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases">ethers GitHub release notes</a> </details> </details> <hr/> **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.* For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI5NWExZDA2Ni04OWM3LTQwNmEtODhhYy05MzIzMGJmYzY0MDAiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6Ijk1YTFkMDY2LTg5YzctNDA2YS04OGFjLTkzMjMwYmZjNjQwMCJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/woodpile37/project/00499b6f-a68a-4427-bb51-4ce7ae484e12?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/woodpile37/project/00499b6f-a68a-4427-bb51-4ce7ae484e12/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/woodpile37/project/00499b6f-a68a-4427-bb51-4ce7ae484e12/settings/integration?pkg=ethers&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"95a1d066-89c7-406a-88ac-93230bfc6400","prPublicId":"95a1d066-89c7-406a-88ac-93230bfc6400","dependencies":[{"name":"ethers","from":"5.7.2","to":"6.8.0"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/woodpile37/project/00499b6f-a68a-4427-bb51-4ce7ae484e12?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"00499b6f-a68a-4427-bb51-4ce7ae484e12","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":57,"publishedDate":"2023-10-11T06:18:14.788Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":true,"isBreakingChange":true,"priorityScoreList":[]}) --->
<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to upgrade ethers from 5.7.2 to 6.8.0.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> *Warning:* This is a major version upgrade, and may be a breaking change. - The recommended version is **57 versions** ahead of your current version. - The recommended version was released **a month ago**, on 2023-10-11. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>ethers</b></summary> <ul> <li> <b>6.8.0</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.8.0">2023-10-11</a></br><ul> <li>Replicated former ENS normalize behaviour for empty strings and update namehash testcases (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/125ff1189b9cefb8abfd7da9c104c75e382a50cc">125ff11</a>).</li> <li>Initial shortMessage support for errors (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4241" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4241/hovercard">ethereum#4241</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/d6a8c14d907cf8b90347444c0186b83a5db2e293">d6a8c14</a>).</li> <li>Fixed resolving ENS addresses used as from parameters (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/3961" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/3961/hovercard">ethereum#3961</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/2616f4c30c82bd45449b73fa37ef269d60a07d80">2616f4c</a>).</li> <li>Merge: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ethers-io/ethers.js/commit/9a4b7534458fc79a0654b0eb57fc956bffa02a2f/hovercard" href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/9a4b7534458fc79a0654b0eb57fc956bffa02a2f"><tt>9a4b753</tt></a> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ethers-io/ethers.js/commit/0c9c23b02dcd235887a6be87c0aaa64c733266cc/hovercard" href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/0c9c23b02dcd235887a6be87c0aaa64c733266cc"><tt>0c9c23b</tt></a> Merge branch 'v5.8-progress' (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/cd5f0fe03f2137fbc47e295f8db38a5151111e72">cd5f0fe</a>).</li> <li>Allow more loose input format for RLP encoder (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4402" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4402/hovercard">ethereum#4402</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/9a4b7534458fc79a0654b0eb57fc956bffa02a2f">9a4b753</a>).</li> <li>Update to latest noble crypto libraries (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/3975" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/3975/hovercard">ethereum#3975</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/b27faa02ac8f90e2e54b188e8139c59d98c469e3">b27faa0</a>).</li> <li>More robust configuration options for FetchRequest getUrl functions (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4353" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4353/hovercard">ethereum#4353</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/9541f2f70cd7f5c6f3caf93f5a3d5e34eae5281a">9541f2f</a>).</li> <li>Ignore blockTag when calling Etherscan if it is the default block tag (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/dcea9b353619d85878ad2ba340ae17e5c285d558">dcea9b3</a>).</li> </ul> </li> <li> <b>6.7.1</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.7.1">2023-08-15</a></br><ul> <li>Prevent destroyed providers from emitting network detection errors (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/7d4173049edc3b4ff2de1971c3ecca3b08588651">7d41730</a>).</li> <li>Fix VSCode reported lint issues (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4153" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4153/hovercard">ethereum#4153</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4156" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4156/hovercard">ethereum#4156</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4158" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4158/hovercard">ethereum#4158</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4159" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4159/hovercard">ethereum#4159</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/4eb84da865a82a27c5113c38102b6b710096958e">4eb84da</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/203dfc33b9c8e72c9cdfe0a349ac763ef17a4484">203dfc3</a>).</li> <li>Add gasPrice to Polygon feeData for type 0 and type 1 legacy transactions (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4315" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4315/hovercard">ethereum#4315</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/0df3ab93137039de1e1986bbfe9a5b32ceffa8a4">0df3ab9</a>).</li> </ul> </li> <li> <b>6.7.0</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.7.0">2023-08-03</a></br><ul> <li>Fixed receipt wait not throwing on reverted transactions (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/25fef4f8d756f5bbf5a2a05e38233248a8eb43ac">25fef4f</a>).</li> <li>Added custom priority fee to Optimism chain (via telegram) (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/ff80b04f31da21496e72d3687cecd1c01efaecc5">ff80b04</a>).</li> <li>Add context to Logs that fail decoding due to ABI issues to help debugging (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/f3c46f22994d194ff78b3b176407b2ecb7af1c77">f3c46f2</a>).</li> <li>Added new exports for FallbackProviderOptions and FetchUrlFeeDataNetworkPlugin (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/2828" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/2828/hovercard">ethereum#2828</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4160" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4160/hovercard">ethereum#4160</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/b1dbbb0de3f10a3d9e12d6a84ad5c52bea25c7f6">b1dbbb0</a>).</li> <li>Allow overriding pollingInterval in JsonRpcProvider constructor (via discord) (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/f42f258beb305a06e563ad16522f095a72da32eb">f42f258</a>).</li> <li>Fixed FallbackProvider priority sorting (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4150" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4150/hovercard">ethereum#4150</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/78538eb100addd135d29e60c9fa4fed3946278fa">78538eb</a>).</li> <li>Added linea network to InfuraProvider and Network (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4184" data-hovercard-type="discussion" data-hovercard-url="/ethers-io/ethers.js/discussions/4184/hovercard">ethereum#4184</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4190" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4190/hovercard">ethereum#4190</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/d3e5e2c45b28c377f306091acfc024e30c49ef20">d3e5e2c</a>).</li> <li>Added whitelist support to getDefaultProvider (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/82bb936542e29c6441ac8dc2d3ebbdd4edb708ee">82bb936</a>).</li> <li>Add Polygon RPC endpoints to the default provider (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/3689" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/3689/hovercard">ethereum#3689</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/23704a9c44d5857817e138fb19d44ce2103ca005">23704a9</a>).</li> <li>Added customizable quorum to FallbackProvider (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4160" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4160/hovercard">ethereum#4160</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/8f0a50921a12a866addcf5b0fabc576bfc287689">8f0a509</a>).</li> <li>Added basic Gas Station support via a NetworkPlugin (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/2828" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/2828/hovercard">ethereum#2828</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/229145ddf566a962517588eaeed155734c7d4598">229145d</a>).</li> <li>Add BNB URLs to EtherscanProvider networks (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/ec39abe067259fad4ea8607a6c5aece61890eb41">ec39abe</a>).</li> <li>Added tests for JSON format (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4248" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4248/hovercard">ethereum#4248</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/ba36079a285706694532ce726568c4c447acad47">ba36079</a>).</li> <li>Use empty string for unnamed parameters in JSON output instead of undefined (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4248" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4248/hovercard">ethereum#4248</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/8c2652c8cb4d054207d89688d30930869d9d3f8b">8c2652c</a>).</li> <li>Return undefined for Contract properties that do not exist instead of throwing an error (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4266" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4266/hovercard">ethereum#4266</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/5bf7b3494ed62952fc387b4368a0bdc86dfe163e">5bf7b34</a>).</li> </ul> </li> <li> <b>6.6.7</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.7">2023-07-28</a></br><ul> <li>Prevent malformed logs from preventing other logs being decoded (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4275" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4275/hovercard">ethereum#4275</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/0dca645632d73488bf6ad460e0d779361a537bbe">0dca645</a>).</li> <li>Allow visibility on human-readable constructors (via telegram) (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/3a52201fe2ba68a00105cca2c0901da5ffa18d6b">3a52201</a>).</li> </ul> </li> <li> <b>6.6.6</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.6">2023-07-28</a></br><ul> <li>Better error message when passing invalid overrides object into a contract deployment (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4182" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4182/hovercard">ethereum#4182</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/aa2ea3d5296956fd0d40b83888e1ca053bb250ee">aa2ea3d</a>).</li> </ul> </li> <li> <b>6.6.5</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.5">2023-07-24</a></br><ul> <li>Reflect symbols in the Contract Proxy to target (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4048" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4048/hovercard">ethereum#4048</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/ac2f5e563b8ec0e91a931470eb6ea58b0c01fb3d">ac2f5e5</a>).</li> <li>Allow arrays of address for indexed filter topics (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4259" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4259/hovercard">ethereum#4259</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/93af87c447eeb77090e29bd940612603b3f74026">93af87c</a>).</li> <li>Fixed filter encoding for bytesX (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4244" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4244/hovercard">ethereum#4244</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/fa3a883ff7c88611ce766f58bdd4b8ac90814470">fa3a883</a>).</li> <li>Fix JSON formatting for tuple arrays (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4237" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4237/hovercard">ethereum#4237</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/a8bc49bdcf07a51b35f38cf209db27e116cc1a59">a8bc49b</a>).</li> <li>Better error messages when parsing fragment strings (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4246" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4246/hovercard">ethereum#4246</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/e36b6c35b7bc777c9adbe0055b32b31a13185240">e36b6c3</a>).</li> <li>Include the missing fragment key and args when no matching Contract method or event is present (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/3809" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/3809/hovercard">ethereum#3809</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/450a176ee25f88a2ddb9ff23b153ef70bf1dc546">450a176</a>).</li> <li>Prevent a single malformed event from preventing other Contract logs; reported on Discord (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/b1375f4e4463b856855ebc684b45945455ac082e">b1375f4</a>).</li> </ul> </li> <li> <b>6.6.4</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.4">2023-07-16</a></br><ul> <li>More robust support for Signatures with less standard parameter values (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/3835" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/3835/hovercard">ethereum#3835</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4228" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4228/hovercard">ethereum#4228</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/a7e4048fe3b75a743cec8c8ef2a5fad4bdc8b14c">a7e4048</a>).</li> <li>Fixed CCIP-read in the EnsResolver (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4221" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4221/hovercard">ethereum#4221</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/57f1e1c47148921148e35c10c83539531942923e">57f1e1c</a>).</li> <li>Skip checking confirmation count if confirms is 0 (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4229" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4229/hovercard">ethereum#4229</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4242" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4242/hovercard">ethereum#4242</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/492919d14f646c630f29e1596e5564df1e51f309">492919d</a>).</li> <li>Fixed waiting for confirmations in deployment transactions (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4212" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4212/hovercard">ethereum#4212</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4230" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4230/hovercard">ethereum#4230</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/43c253a402f52a08353c424f6c4e236836cfaf36">43c253a</a>).</li> </ul> </li> <li> <b>6.6.3</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.3">2023-07-12</a></br><ul> <li>Throw more desscriptive error for unconfigured ENS name contract targets (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4213" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4213/hovercard">ethereum#4213</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/80f62efc41c3a29e690af40a1976928b7f886a0e">80f62ef</a>).</li> <li>Fixed contract once not running stop callback (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/7d061b786f72cbfc461bf80d139d10aeff533a6e">7d061b7</a>).</li> </ul> </li> <li> <b>6.6.2</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.2">2023-06-28</a></br><ul> <li>Wider error detection for call exceptions on certain backends (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4154" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4154/hovercard">ethereum#4154</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4155" data-hovercard-type="pull_request" data-hovercard-url="/ethers-io/ethers.js/pull/4155/hovercard">ethereum#4155</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/9197f9f938b5f3b5f97c043f2dab06854656c932">9197f9f</a>).</li> <li>Added wider error deetection for JSON-RPC unsupported operation (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4162" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4162/hovercard">ethereum#4162</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/1dc8986a33be9dce536b24189326cbfaabf1342e">1dc8986</a>).</li> <li>Fixed formatUnits and parseUnits for values over 128 bits (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4037" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4037/hovercard">ethereum#4037</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4133" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4133/hovercard">ethereum#4133</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/3d141b44b528f52b3c9205125b64ce342f91643c">3d141b4</a>).</li> </ul> </li> <li> <b>6.6.1</b> - <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases/tag/v6.6.1">2023-06-23</a></br><ul> <li>Fixed CCIP read in contract calls (<a href="https://snyk.io/redirect/github/ethers-io/ethers.js/issues/4043" data-hovercard-type="issue" data-hovercard-url="/ethers-io/ethers.js/issues/4043/hovercard">ethereum#4043</a>; <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/d51e3fbff43c31d88353ac71151626312d22c0b9">d51e3fb</a>, <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/commit/857aa8ccc30f25eda8e83dcac3e0ad2c1a5ce2b3">857aa8c</a>).</li> </ul> </li> <li> <b>6.6.0</b> - 2023-06-14 </li> <li> <b>6.5.1</b> - 2023-06-08 </li> <li> <b>6.5.0</b> - 2023-06-07 </li> <li> <b>6.4.2</b> - 2023-06-06 </li> <li> <b>6.4.1</b> - 2023-06-02 </li> <li> <b>6.4.0</b> - 2023-05-20 </li> <li> <b>6.3.0</b> - 2023-04-07 </li> <li> <b>6.2.3</b> - 2023-03-28 </li> <li> <b>6.2.2</b> - 2023-03-24 </li> <li> <b>6.2.1</b> - 2023-03-23 </li> <li> <b>6.2.0</b> - 2023-03-20 </li> <li> <b>6.1.0</b> - 2023-03-07 </li> <li> <b>6.0.8</b> - 2023-02-23 </li> <li> <b>6.0.7</b> - 2023-02-23 </li> <li> <b>6.0.6</b> - 2023-02-23 </li> <li> <b>6.0.5</b> - 2023-02-19 </li> <li> <b>6.0.4</b> - 2023-02-16 </li> <li> <b>6.0.3</b> - 2023-02-13 </li> <li> <b>6.0.2</b> - 2023-02-04 </li> <li> <b>6.0.1</b> - 2023-02-04 </li> <li> <b>6.0.0</b> - 2023-02-03 </li> <li> <b>6.0.0-beta-exports.16</b> - 2023-02-02 </li> <li> <b>6.0.0-beta-exports.15</b> - 2023-01-31 </li> <li> <b>6.0.0-beta-exports.14</b> - 2023-01-27 </li> <li> <b>6.0.0-beta-exports.13</b> - 2023-01-27 </li> <li> <b>6.0.0-beta-exports.12</b> - 2023-01-27 </li> <li> <b>6.0.0-beta-exports.11</b> - 2023-01-22 </li> <li> <b>6.0.0-beta-exports.10</b> - 2023-01-15 </li> <li> <b>6.0.0-beta-exports.9</b> - 2022-12-30 </li> <li> <b>6.0.0-beta-exports.8</b> - 2022-12-10 </li> <li> <b>6.0.0-beta-exports.7</b> - 2022-11-30 </li> <li> <b>6.0.0-beta-exports.6</b> - 2022-11-09 </li> <li> <b>6.0.0-beta-exports.5</b> - 2022-11-09 </li> <li> <b>6.0.0-beta-exports.4</b> - 2022-10-01 </li> <li> <b>6.0.0-beta-exports.3</b> - 2022-09-30 </li> <li> <b>6.0.0-beta-exports.2</b> - 2022-09-27 </li> <li> <b>6.0.0-beta-exports.1</b> - 2022-09-16 </li> <li> <b>6.0.0-beta-exports.0</b> - 2022-09-05 </li> <li> <b>6.0.0-beta.9</b> - 2022-04-20 </li> <li> <b>6.0.0-beta.8</b> - 2022-04-20 </li> <li> <b>6.0.0-beta.7</b> - 2022-04-20 </li> <li> <b>6.0.0-beta.6</b> - 2022-04-20 </li> <li> <b>6.0.0-beta.5</b> - 2022-04-19 </li> <li> <b>6.0.0-beta.4</b> - 2022-04-17 </li> <li> <b>6.0.0-beta.3</b> - 2022-04-14 </li> <li> <b>6.0.0-beta.2</b> - 2022-04-11 </li> <li> <b>6.0.0-beta.1</b> - 2022-04-11 </li> <li> <b>5.7.2</b> - 2022-10-19 </li> </ul> from <a href="https://snyk.io/redirect/github/ethers-io/ethers.js/releases">ethers GitHub release notes</a> </details> </details> <hr/> **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.* For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJhNDA4NTZhZC00NGNkLTQ1MjAtYmRjNS1iZjUyMGY3Mjc4NjkiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImE0MDg1NmFkLTQ0Y2QtNDUyMC1iZGM1LWJmNTIwZjcyNzg2OSJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/woodpile37/project/f0dcf1c9-ecf1-445b-bc07-e8f73c595f54?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/woodpile37/project/f0dcf1c9-ecf1-445b-bc07-e8f73c595f54/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/woodpile37/project/f0dcf1c9-ecf1-445b-bc07-e8f73c595f54/settings/integration?pkg=ethers&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"a40856ad-44cd-4520-bdc5-bf520f727869","prPublicId":"a40856ad-44cd-4520-bdc5-bf520f727869","dependencies":[{"name":"ethers","from":"5.7.2","to":"6.8.0"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/woodpile37/project/f0dcf1c9-ecf1-445b-bc07-e8f73c595f54?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"f0dcf1c9-ecf1-445b-bc07-e8f73c595f54","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":57,"publishedDate":"2023-10-11T06:18:14.788Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":true,"isBreakingChange":true,"priorityScoreList":[]}) --->
Ethers Version
6.6.0
Search Terms
No response
Describe the Problem
In v5, you could instantiate a
FallbackProvider
with only one Provider without the instantiation failing.However, in v6, when I instantiate a
FallbackProvider
with only one Provider, the instantiation fails with:(There is also a typo in the above error: "wieght" 🙈)
Is the expected behavior that the
FallbackProvider
can only be instantiated with greater than one Provider? Or is this a bug?If this is the expected behavior, might be nice to update the migration guide and maybe make the error message a bit clearer for that case. 🙏
Code Snippet
Contract ABI
No response
Errors
Error: quorum exceed provider wieght (argument="quorum", value=2, code=INVALID_ARGUMENT, version=6.6.0)
Environment
No response
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: