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 hardhat from 2.14.0 to 2.18.1 #829

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 12, 2023

Bumps hardhat from 2.14.0 to 2.18.1.

Release notes

Sourced from hardhat's releases.

Hardhat v2.18.1

This new version of Hardhat includes a new option when initializing a project: you can now start a project that uses Viem instead of ethers. To learn more about this, check our announcement.

This version also makes a small change to the logs shown during compilation: now the targeted EVM version (or versions) is shown.

Hardhat v2.18.0

This version of Hardhat adds support for scoped tasks.

You can now create scopes to group multiple tasks that are related in some way:

const myScope = scope("my-scope", "Scope description");
myScope.task("my-task", "Do something")
.setAction(async () => { ... });
myScope.task("my-other-task", "Do something else")
.setAction(async () => { ... });

Thanks to @​zemse, who kickstarted the work on this!

Hardhat v2.17.4

This version of Hardhat adds support for the debug_traceCall method.

Besides that, Hardhat projects are now initialized with npx hardhat init instead of npx hardhat. The latter command still works but it will produce a warning. See NomicFoundation/hardhat#2594 for the rationale behind this change.

Hardhat v2.17.3

This version of Hardhat changes the default evmVersion to paris for solc versions newer than or equal to 0.8.20.

Starting from version 0.8.20, solc changed the default target EVM version to Shanghai. Among other things, this meant that the generated bytecode could (and most likely would) contain the new PUSH0 opcode.

Up until this point, Hardhat always delegated to solc the decision of which EVM version to target. But there are two things that are different today: many users develop for non-mainnet chains, and not every chain has adopted the Shanghai hardfork yet. This means it's possible that you develop a contract which works locally (Hardhat's default hardfork is still Shanghai, because we follow the current mainnet hardfork) but that then doesn't work after deploying it.

If you are sure you are going to deploy in a network that supports the Shanghai hardfork, you can change the target EVM like this:

module.exports = {
  solidity: {
    version: "0.8.20",
    settings: {
      evmVersion: "shanghai",
    },
  },
};

Hardhat v2.17.2

This release includes several fixes and some new features:

... (truncated)

Commits
  • b2a551f Merge pull request #4466 from NomicFoundation/hh-viem-fixes
  • 9357a00 Fix sample project script
  • 02911f1 Merge pull request #4450 from NomicFoundation/changeset-release/main
  • 8d5e744 Version Packages
  • 03b97fe Merge pull request #4457 from NomicFoundation/hardhat-viem
  • 968c903 Update packages/hardhat-viem/README.md
  • 4c5839e Capitalize Viem and other changes
  • 197f72b Update packages/hardhat-toolbox-viem/README.md
  • 3c6f654 Use relative links in docs
  • 8130898 Add link to toolbox
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [hardhat](https://github.com/nomiclabs/hardhat) from 2.14.0 to 2.18.1.
- [Release notes](https://github.com/nomiclabs/hardhat/releases)
- [Commits](https://github.com/nomiclabs/hardhat/compare/[email protected]@2.18.1)

---
updated-dependencies:
- dependency-name: hardhat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the Type: Dependencies Pull requests that update a dependency file label Oct 12, 2023
@openzeppelin-code
Copy link

Bump hardhat from 2.14.0 to 2.18.1

Generated at commit: 7c8eb5ecff3959dcf861f77f60e41b9dd3a6f452

🚨 Vulnerabilities Summary

Process Issues Results
Contract Inspector note
low
critical
Total
23
9
1
33
Dependency Checker Total 0

For more details view the full report in OpenZeppelin Code

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 20, 2023

Superseded by #830.

@dependabot dependabot bot closed this Oct 20, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/hardhat-2.18.1 branch October 20, 2023 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants