Skip to content

Commit

Permalink
Merge pull request #3179 from NomicFoundation/upgrade-toolbox-sample-…
Browse files Browse the repository at this point in the history
…projects

Upgrade dependencies in sample projects
  • Loading branch information
fvictorio authored Sep 14, 2022
2 parents 59d262b + f4fd6a2 commit b649a57
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/nervous-dolls-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"hardhat": patch
---

Upgraded dependencies in sample projects
6 changes: 3 additions & 3 deletions packages/hardhat-core/src/internal/cli/project-creation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ type SampleProjectTypeCreationAction =
const HARDHAT_PACKAGE_NAME = "hardhat";

const PROJECT_DEPENDENCIES: Dependencies = {
"@nomicfoundation/hardhat-toolbox": "^1.0.1",
"@nomicfoundation/hardhat-toolbox": "^2.0.0",
};

const PEER_DEPENDENCIES: Dependencies = {
hardhat: "^2.9.9",
hardhat: "^2.11.1",
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.0",
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-etherscan": "^3.0.0",
chai: "^4.2.0",
ethers: "^5.4.7",
"hardhat-gas-reporter": "^1.0.8",
"solidity-coverage": "^0.7.21",
"solidity-coverage": "^0.8.0",
"@typechain/hardhat": "^6.1.2",
typechain: "^8.1.0",
"@typechain/ethers-v5": "^10.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-ethers/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ describe("Ethers plugin", function () {
// see also
// https://github.com/ethers-io/ethers.js/issues/615#issuecomment-848991047
const provider = deployedGreeter.provider as EthersProviderWrapper;
provider.pollingInterval = 100;
provider.pollingInterval = 200;

let eventEmitted = false;
deployedGreeter.on("GreetingUpdated", () => {
Expand Down

0 comments on commit b649a57

Please sign in to comment.