Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Comments

chore(deps-dev): bump hardhat from 2.0.11 to 2.5.0#216

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/hardhat-2.5.0
Closed

chore(deps-dev): bump hardhat from 2.0.11 to 2.5.0#216
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/hardhat-2.5.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2021

Bumps hardhat from 2.0.11 to 2.5.0.

Release notes

Sourced from hardhat's releases.

Hardhat v2.5.0

This release adds support for the upcoming London hardfork to Hardhat.

Enabling the London support

This version of Hardhat doesn't run Hardhat Network using London by default. To use this hardfork, you need to have these config fields:

networks: {
  hardhat: {
    hardfork: "london",
    gasPrice: "auto"
  } 
}

Base fee selection

The London hardfork includes the long-awaited EIP-1559, which changes how transactions pay to be included in the Ethereum blockchain. This includes a new concept called base fee.

To configure the base fee of the first local block, set the initialBaseFeePerGas property in the Hardhat Network configuration:

module.exports = {
  networks: {
    hardhat: {
      initialBaseFeePerGas: 1_000_000_000
    }
  }
}

You can also change this value at runtime using the new hardhat_setNextBlockBaseFeePerGas JSON-RPC method:

await network.provider.send("hardhat_setNextBlockBaseFeePerGas", ["0x77359400"])

Forking London-enabled networks

This release fixes an issue that prevented Hardhat Network from forking Ropsten, Goerli, Rinkeby, and any other network where London has already been activated.

You can now fork them, even if you are not running London locally.

Minimum gas price and the London Hardfork

Hardhat 2.4.0 introduced two ways of controlling the minimum gas price that transactions needed to pay. These are the minGasPrice Hardhat network config field and the hardhat_setMinGasPrice JSON-RPC method.

This functionality is disabled when using the London hardfork. Trying to set the config field or using the JSON-RPC method will result in an error.

... (truncated)

Commits
  • 473e1e7 Bump hardhat-core to 2.5.0
  • 4b8cd1b Merge pull request #1710 from nomiclabs/london-hardfork
  • 1636106 Merge pull request #1709 from nomiclabs/fix-ropsten-split-bug
  • 04af2f3 Fix replaceLastLine function in logger
  • ed27e22 Merge pull request #1705 from nomiclabs/london-hardfork-docs
  • ff15419 Merge pull request #1702 from nomiclabs/london-automatic-gas-provider
  • e10fc66 Fix EIP-1559 tx validation in TxPool
  • 6733909 Update docs/config/README.md
  • f8cdce3 Apply suggestions from code review
  • 58e3241 Update the LocalAccountsProvider for London
  • 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 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.0.11 to 2.5.0.
- [Release notes](https://github.com/nomiclabs/hardhat/releases)
- [Commits](NomicFoundation/hardhat@hardhat-core-v2.0.11...hardhat-core-v2.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 1, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 1, 2021

Superseded by #243.

@dependabot dependabot bot closed this Sep 1, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/hardhat-2.5.0 branch September 1, 2021 08:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants