Skip to content
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

Bump got, @nomicfoundation/hardhat-toolbox and solidity-coverage #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 4, 2023

Removes got. It's no longer used after updating ancestor dependencies got, @nomicfoundation/hardhat-toolbox and solidity-coverage. These dependencies need to be updated together.

Removes got

Updates @nomicfoundation/hardhat-toolbox from 1.0.2 to 2.0.0

Release notes

Sourced from @​nomicfoundation/hardhat-toolbox's releases.

@​nomicfoundation/hardhat-toolbox@​2.0.0

This version of the Toolbox upgrades solidity-coverage to its latest version. Since this new version includes some breaking changes, we are bumping the Toolbox to a new major version.

If you want to upgrade to this version and you are using npm 7 or later, you only need to upgrade the Toolbox:

npm i --save-dev hardhat@latest @nomicfoundation/hardhat-toolbox@latest

If you are using yarn or an old version of npm, you'll also need to upgrade Hardhat and solidity-coverage:

yarn add --dev hardhat@latest @nomicfoundation/hardhat-toolbox@latest solidity-coverage@latest
Commits
  • a3b4d9a Run changesets version
  • b649a57 Merge pull request #3179 from NomicFoundation/upgrade-toolbox-sample-projects
  • 59d262b Merge pull request #3169 from ololade97/patch-1
  • 97b99e0 Merge pull request #3148 from NomicFoundation/fork-cache-not-working-for-opti...
  • 7ca17a4 Merge pull request #3160 from NomicFoundation/ensure-support-for-solidity-081...
  • f7d3843 Merge pull request #3177 from NomicFoundation/relax-eth-storage-at-validation
  • f4fd6a2 Create nervous-dolls-tell.md
  • 7991b38 Make hardhat-ethers test more reliable
  • 10f03fb Add more test cases for storage slot
  • 1cfee28 Create big-cooks-decide.md
  • Additional commits viewable in compare view

Updates solidity-coverage from 0.7.22 to 0.8.2

Release notes

Sourced from solidity-coverage's releases.

0.8.2

What's Changed

New Contributors

Full Changelog: sc-forks/solidity-coverage@v0.8.1...v0.8.2

0.8.1

What's Changed

Full Changelog: sc-forks/solidity-coverage@v0.8.0...v0.8.1

0.8.0

Hi!

⚠️ This version requires Hardhat >= 2.11.0 (Ethereum Merge)

New Features

A central focus of the 0.8.0 release is improving the coverage tool's branch detection.

Beginning with this version the following syntax is measured as a branch:

OR conditions

When a logical expression is composed with the || operator, both sides can be considered branches. To test the entire expression

if (a == 1 || a == 2)

... a must equal 1, 2 and neither of those values. (Thanks to Gnosis engineer @​rmeissner for proposing this in #175)

Screen Shot 2021-01-12 at 9 41 09 PM

Ternary Conditionals

Long ago, when Solidity was 0.4, solidity-coverage treated ternary conditionals like regular if/else statements. Some language improvements v0.5 subsequently made this impossible. Now it's back...

Screen Shot 2021-01-12 at 9 47 43 PM

Modifier Invocations

Solidity-coverage already covers the code within modifier definitions. However, each modifier invocation at the function level should really be considered its own branch. Some of the most critical logic in Solidity contracts is handled this way (ex: onlyOwner). Testing the pass/fail cases for each occurrence of these gates protects you from accidentally removing them during a refactor.

Because it's possible to write a modifier which performs a preparatory task and never reverts, there's a new option (modifierWhitelist) which allows you to exclude specific modifiers from branch measurement.

... (truncated)

Changelog

Sourced from solidity-coverage's changelog.

Changelog

0.8.1 / 2022-09-06

0.8.0 / 2022-09-05

0.7.21 / 2022-04-24

0.7.20 / 2022-02-15

0.7.19 / 2022-02-09

0.7.18 2022-01-17

0.7.16 / 2021-03-04

0.7.15 / 2021-02-16

0.7.14 / 2021-01-14

  • Support file scoped function definitions for solc >= 0.7.4
  • Upgrade @​solidity-parser/parser to v0.11.0

0.7.13 / 2020-12-03

  • Use default artifact paths for hardhat >= 2.0.4 (Fixes hardhat-deploy bug)

... (truncated)

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will 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 labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will 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.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Removes [got](https://github.com/sindresorhus/got). It's no longer used after updating ancestor dependencies [got](https://github.com/sindresorhus/got), [@nomicfoundation/hardhat-toolbox](https://github.com/nomicfoundation/hardhat) and [solidity-coverage](https://github.com/sc-forks/solidity-coverage). These dependencies need to be updated together.


Removes `got`

Updates `@nomicfoundation/hardhat-toolbox` from 1.0.2 to 2.0.0
- [Release notes](https://github.com/nomicfoundation/hardhat/releases)
- [Commits](https://github.com/nomicfoundation/hardhat/compare/@nomicfoundation/hardhat-toolbox@1.0.2...@nomicfoundation/hardhat-toolbox@2.0.0)

Updates `solidity-coverage` from 0.7.22 to 0.8.2
- [Release notes](https://github.com/sc-forks/solidity-coverage/releases)
- [Changelog](https://github.com/sc-forks/solidity-coverage/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sc-forks/solidity-coverage/commits/v0.8.2)

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
- dependency-name: "@nomicfoundation/hardhat-toolbox"
  dependency-type: direct:development
- dependency-name: solidity-coverage
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants