From e41ef22dfe16ff391730dea4add2afb984a87b44 Mon Sep 17 00:00:00 2001 From: Franco Victorio Date: Wed, 14 Sep 2022 16:37:51 +0200 Subject: [PATCH 1/3] Upgrade dependencies in sample projects --- packages/hardhat-core/src/internal/cli/project-creation.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/hardhat-core/src/internal/cli/project-creation.ts b/packages/hardhat-core/src/internal/cli/project-creation.ts index 21bbc5326c..7966380e3e 100644 --- a/packages/hardhat-core/src/internal/cli/project-creation.ts +++ b/packages/hardhat-core/src/internal/cli/project-creation.ts @@ -36,11 +36,11 @@ 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", @@ -48,7 +48,7 @@ const PEER_DEPENDENCIES: Dependencies = { 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", From 7991b38053445e938643a3a6e2bab26327540c96 Mon Sep 17 00:00:00 2001 From: Franco Victorio Date: Wed, 14 Sep 2022 17:07:31 +0200 Subject: [PATCH 2/3] Make hardhat-ethers test more reliable --- packages/hardhat-ethers/test/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hardhat-ethers/test/index.ts b/packages/hardhat-ethers/test/index.ts index e194776122..39322a3d7c 100644 --- a/packages/hardhat-ethers/test/index.ts +++ b/packages/hardhat-ethers/test/index.ts @@ -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", () => { From f4fd6a27ed6608c2b23d985bdb9725847caf63c8 Mon Sep 17 00:00:00 2001 From: Franco Victorio Date: Wed, 14 Sep 2022 17:09:16 +0200 Subject: [PATCH 3/3] Create nervous-dolls-tell.md --- .changeset/nervous-dolls-tell.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/nervous-dolls-tell.md diff --git a/.changeset/nervous-dolls-tell.md b/.changeset/nervous-dolls-tell.md new file mode 100644 index 0000000000..c86ae90947 --- /dev/null +++ b/.changeset/nervous-dolls-tell.md @@ -0,0 +1,5 @@ +--- +"hardhat": patch +--- + +Upgraded dependencies in sample projects