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.6.8 to 2.7.0 #336

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 25, 2021

Bumps hardhat from 2.6.8 to 2.7.0.

Release notes

Sourced from hardhat's releases.

Hardhat v2.7.0

This release adds a FIFO mode to Hardhat Network's mempool and makes the coinbase address customizable. It also includes some minor bug fixes and improvements.

Mempool modes

The way Hardhat Network's mempool orders transactions is now customizable. By default, they are prioritized following Geth's rules, but you can enable a FIFO (first in, first out) mode instead. This mode ensures that transactions are added to blocks in the same order they are sent, and it's useful to recreate blocks from other networks.

You can enable the FIFO mode in your config with:

networks: {
  hardhat: {
    mining: {
      auto: false,
      mempool: {
        order: "fifo",
      },
    },
  },
}

Huge thanks to @​ngotchac for this contribution!

Customizable coinbase address

You can configure the coinbase address via a config field and a new RPC method. This is the address that will receive the block reward when a new block is mined.

The config field is part of the Hardhat Network configuration:

networks: {
  hardhat: {
    coinbase: "0x590c193534A11590b1BcE02896d2805bAC54Da2C"
  },
},

You can also use the new hardhat_setCoinbase RPC method to change the coinbase address in runtime:

await network.provider.send("hardhat_setCoinbase", [
  "0x590c193534A11590b1BcE02896d2805bAC54Da2C",
]);

Other changes

  • Suggest similar artifact names when a given name is not found
  • Fixed how the cumulative gas is computed for receipts and added a missing field (Thanks @​ngotchac!)

... (truncated)

Commits
  • 2ea8768 Version Packages
  • 82f9da9 Merge pull request #2090 from nomiclabs/configurable-coinbase
  • 598ea55 Update packages/hardhat-core/test/internal/hardhat-network/provider/modules/e...
  • 554fdb5 Resize it once again
  • c832e2a Resize plugin badge
  • b7577c5 Merge pull request #2078 from nomiclabs/clean-hh-node-test-cache
  • 6c76e8d Merge pull request #2046 from x0s0l/patch-1
  • 0778c4e Merge pull request #2075 from nomiclabs/update-plugin-badge
  • d2d3473 Add changeset
  • 52be132 Implement hardhat_setCoinbase
  • 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.6.8 to 2.7.0.
- [Release notes](https://github.com/nomiclabs/hardhat/releases)
- [Commits](https://github.com/nomiclabs/hardhat/compare/hardhat@2.6.8...hardhat@2.7.0)

---
updated-dependencies:
- dependency-name: hardhat
  dependency-type: direct:production
  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 Nov 25, 2021
@Joeysantoro Joeysantoro merged commit 12a89dc into develop Nov 25, 2021
@Joeysantoro Joeysantoro deleted the dependabot/npm_and_yarn/hardhat-2.7.0 branch November 25, 2021 19:52
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.

1 participant