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

build(deps-dev): bump @nomicfoundation/hardhat-chai-matchers from 1.0.5 to 2.0.8 in /packages/network-contracts #956

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 30, 2025

Bumps @nomicfoundation/hardhat-chai-matchers from 1.0.5 to 2.0.8.

Release notes

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

@​nomicfoundation/hardhat-chai-matchers@​2.0.8

This release includes bug fixes for the emit and reverted matchers, improving support for overloaded events and bytes32 strings.

Changes

  • 1a0e1e3: Enhanced error message in emit matcher for overloaded events (thanks @​iosh!)
  • 7964bf0: Enhanced the reverted matcher to correctly handle bytes32 strings (thanks @​iosh!)

@​nomicfoundation/hardhat-chai-matchers@​2.0.7

This release accepts predicate functions in the changeEtherBalance, changeEthersBalances, changeTokenBalance and changeTokenBalances matchers (thanks @​SevenSwen and @​k06a!)


💡 The Nomic Foundation is hiring! Check our open positions.


@​nomicfoundation/hardhat-chai-matchers@​2.0.6

This release improves the error messages of the .withArgs matcher (thanks @​RenanSouza2!)

@​nomicfoundation/hardhat-chai-matchers@​2.0.5

This version:

  • Adds support for Typed objects (thanks @​RenanSouza2!)
  • Improves how .revertedWithCustomError handles wrong number of arguments (thanks @​RenanSouza2!)

@​nomicfoundation/hardhat-chai-matchers@​2.0.4

This release improves the loading performance of the plugin

@​nomicfoundation/hardhat-chai-matchers@​2.0.3

This release adds support for Addressable objects in .withArgs and .equals (thanks @​Amxx!)

@​nomicfoundation/hardhat-chai-matchers@​2.0.2

This release forbids our async matchers from being chained. This means that you can't do something like:

await expect(contract.f())
  .to.changeEtherBalance(...)
  .and.to.changeTokenBalance(...)

This never worked properly, leading to potential false positives in tests. Now this pattern will throw an error to make it clear that it's not supported.

If some of your tests start throwing because of this, the way to do the same thing without chaining is:

const tx = contract.f();
await expect(tx).to.changeEtherBalance(...);
await expect(tx).to.changeTokenBalance(...);

Commits
  • 40d9339 Version Packages
  • f93c447 Merge pull request #5759 from NomicFoundation/refactor/streamline-console-lib...
  • 5b410f9 fixup: Reword some vars
  • 0701408 fix: Appease older TypeScript
  • 75e9ca7 refactor: Separate data collection and rendering in console-library-generator.ts
  • 948fa85 refactor: Use hex in console.log signatures for clarity
  • 42a09d9 refactor: Simplify the console-library-generator.ts
  • 74b1bfe Merge pull request #5740 from NomicFoundation/support-solc-0.8.27
  • d725c09 Merge pull request #5716 from AwaisBinKaleem/main
  • ff74f1d Improve the docs a bit
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by schaable, a new releaser for @​nomicfoundation/hardhat-chai-matchers since your current version.


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 [@nomicfoundation/hardhat-chai-matchers](https://github.com/nomicfoundation/hardhat) from 1.0.5 to 2.0.8.
- [Release notes](https://github.com/nomicfoundation/hardhat/releases)
- [Commits](https://github.com/nomicfoundation/hardhat/compare/@nomicfoundation/[email protected]...@nomicfoundation/[email protected])

---
updated-dependencies:
- dependency-name: "@nomicfoundation/hardhat-chai-matchers"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the build Pull requests that update developer build label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Pull requests that update developer build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants