Bump undici, @nomiclabs/hardhat-etherscan and hardhat in /packages/staking
Bumps undici, @nomiclabs/hardhat-etherscan and hardhat. These dependencies needed to be updated together.
Updates undici from 4.16.0 to 5.9.1
Release notes
Sourced from undici's releases.
v5.9.1
What's Changed
- fix: don't timeout while waiting for client to send request (#1604)
- Fix array headers by
@mateonunezin nodejs/undici#1598- fix(fetch): implement fully read body algorithm by
@KhafraDevin nodejs/undici#1597- fix: add support for
integrityoption to Fetch by@jelmervdlin nodejs/undici#1596- fix(File): respect typed array
byteOffsetandbyteLengthby@mrbbotin nodejs/undici#1601New Contributors
@mateonunezmade their first contribution in nodejs/undici#1598@jelmervdlmade their first contribution in nodejs/undici#1596@mrbbotmade their first contribution in nodejs/undici#1601Full Changelog: https://github.com/nodejs/undici/compare/v5.8.2...v5.9.1
v5.8.2
⚠️ Security Release ⚠️
- CRLF Injection in Nodejs ‘undici’ via Content-Type GHSA-f772-66g8-q5h3 CVE-2022-35948
undici.requestvulnerable to SSRF using absolute URL onpathnameGHSA-8qr4-xgw6-wmr3 CVE-2022-35949What's Changed
- docs: mock different endpoints in a single file by
@ritvik130in nodejs/undici#1589- feat(webidl): better error message for ByteString converter by
@KhafraDevin nodejs/undici#1591New Contributors
@ritvik130made their first contribution in nodejs/undici#1589Full Changelog: https://github.com/nodejs/undici/compare/v5.8.1...v5.8.2
v5.8.1
What's Changed
- Do not decode the body while we are following a redirect by
@mcollinain nodejs/undici#1554- docs: Fix spelling/grammar in "Mocking Request" by
@meyfain nodejs/undici#1555- fix(MockInterceptor): callback options.headers w/ fetch by
@KhafraDevin nodejs/undici#1559- fix(fetch): ByteString checks & conversion in Headers by
@KhafraDevin nodejs/undici#1560- test: update client certificates with ones that expires in 100 years by
@jodevsain nodejs/undici#1566- fix: x-www-form-urlencoded parser keep the BOM by
@cola119in nodejs/undici#1563- fix: prioritise error events over timeouts by
@jodevsain nodejs/undici#1551- fix: add
isErrorLikeby@KhafraDevin nodejs/undici#1570- fix(types): add missing pool stats by
@SkeLLLain nodejs/undici#1573- fix: fetch a long base64 url will crash and nothing happens (close: #1574) by
@ahaoboyin nodejs/undici#1575- fix: follow signal.reason in Request by
@LiviaMedeirosin nodejs/undici#1580- docs: Fix DiagnosticsChannel sidebar link by
@trentmin nodejs/undici#1582- fix: make mock headers case-insensitive by
@cola119in nodejs/undici#1585New Contributors
@meyfamade their first contribution in nodejs/undici#1555@cola119made their first contribution in nodejs/undici#1563@SkeLLLamade their first contribution in nodejs/undici#1573
... (truncated)
Commits
5890e165.9.1ecae314fix: don't timeout while waiting for client to send request (#1604)fa9fd90fix(File): respect typed arraybyteOffsetandbyteLength(#1601)ae6f554fix: add support forintegrityoption to Fetch (#1596)deed628fix(fetch): implement fully read body algorithm (#1597)0d1419cFix array headers (#1598)52d1ce5Bumped v5.8.266165d6Merge pull request from GHSA-f772-66g8-q5h3124f7ebMerge pull request from GHSA-8qr4-xgw6-wmr3aef314cfeat(webidl): better error message for ByteString converter (#1591)- Additional commits viewable in compare view
Updates @nomiclabs/hardhat-etherscan from 3.0.4 to 3.1.0
Release notes
Sourced from @nomiclabs/hardhat-etherscan's releases.
@nomiclabs/hardhat-etherscanv3.1.0This release adds support for verifying contracts in chains that are not included by default in
hardhat-etherscan.To do this, you add the network you want to verify in the
customChainsentry of the Etherscan configuration:etherscan: { apiKey: { customNetwork: "<custom-network-api-key>" }, customChains: [ { network: "customNetwork", chainId: 12345, urls: { apiURL: "https://api-custom-network.etherscan.io/api", browserURL: "https://custom-network.etherscan.io" } } ] }You can read more about this here.
Thanks to
@no2chemfor the initial implementation and to@calvinacowho helped test this.
Commits
ebde426Version Packagesfb33e8bMerge pull request #2805 from NomicFoundation/export-missing-artifacts-method3770a5bExpose missing method in the artifacts interface64456a0Merge pull request #2661 from NomicFoundation/hardhat-etherscan-custom-explorer990b1f7Merge pull request #2763 from NomicFoundation/francovictorio/hh-697/test-util...50e29e4Add warnings about beta versionbbe43b1Add installation instructions575239cMerge pull request #2793 from NomicFoundation/gene/hh-696980f3a4Use multiple lines in example snippets8dcddebran lint:fix- Additional commits viewable in compare view
Updates hardhat from 2.9.7 to 2.10.2
Release notes
Sourced from hardhat's releases.
Hardhat v2.10.2
This version adds support for Solidity versions up through 0.8.16. Besides that:
- Now
console.log()prints an empty line instead of printingundefined.- The "Unrecognized custom error" message includes the selector of the custom error.
Hardhat v2.10.1
This version improves how propagated Solidity errors are processed by Hardhat (issue #2546).
Hardhat 2.10.0: A refreshed experience
Hardhat 2.10.0 is out, and it marks a change in the product direction that Hardhat has historically taken.
Hardhat’s core values have always been optionality, flexibility and extensibility, enabling it to be used in whatever ways were needed and found to be useful. However, as we described in this thread, the Ethereum and Hardhat development ecosystems grew too large for easy navigation among the many different paths and viable options.
While retaining those core values, Hardhat 2.10.0 now offers a complete and opinionated setup that is ready to start building Ethereum software out-of-the-box. No decisions on plugins, libraries, or dependencies. Just get going.
We’re calling this the Hardhat Toolbox, which is a bundle of plugins and functionality that the Nomic Foundation team considers to be the best way to get started with a new Ethereum project. Read on to learn more about it.
Hardhat Toolbox
You can get our recommended setup by installing the
@nomicfoundation/hardhat-toolboxplugin.When you use this plugin, you'll be able to:
- Deploy and interact with your contracts using ethers.js and the
hardhat-ethersplugin.- Test your contracts with Mocha, Chai and our own Hardhat Chai Matchers plugin.
- Interact with Hardhat Network with our Hardhat Network Helpers.
- Verify the source code of your contracts with the hardhat-etherscan plugin.
- Get metrics on the gas used by your contracts with the hardhat-gas-reporter plugin.
- Measure your tests coverage with solidity-coverage.
- And, if you are using TypeScript, get type bindings for your contracts with Typechain.
You can learn how to migrate to it here.
Hardhat Chai Matchers
@nomicfoundation/hardhat-chai-matchersis a drop-in replacement of@nomiclabs/hardhat-wafflethat integrates more tightly with Hardhat, adds new functionality and improves its error messages. We recommend migrating to it.Since the very beginning, we’ve recommended that people use Waffle, via hardhat-waffle, and we thank the team at TrueFi for their great work. However, for such a core component of the setup, there were too many recurring issues related to not being integrated deeply enough with Hardhat. For this reason, we decided to fork Waffle and release our own Chai matchers.
Some of its functionality and improvements:
- All of hardhat-waffle’s matchers are supported
- Great support for BigNumber and native
bigint
- No need to think about them anymore
- Our matchers can compare any combination of
number- Native
bigintethers.BigNumberBN.js
... (truncated)
Commits
3e55c74Version Packages68cc513Merge pull request #3044 from NomicFoundation/changeset-sol-v0.8.164b20a74Update tricky-horses-talk.md3e3fe7bAdd changeset for support of Solidity 0.8.165beaf0bMerge pull request #3026 from NomicFoundation/gene/hh-43485bd04eMerge pull request #2973 from NomicFoundation/gene/hh-9733644e3aMerge pull request #3010 from wchargin/wchargin-hardhat-common-peer-dep36ca875Create popular-fishes-doubt.mde4ed14fMerge pull request #3032 from NomicFoundation/gene/hh-10433be1dedallow manual triggering of tracing CI test- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.