Skip to content

Commit

Permalink
Merge pull request #144 from oasisprotocol/xmzheng/bump-oasis-hardhat…
Browse files Browse the repository at this point in the history
…-version

bump oasislabs/hardhat to 2.16.1
  • Loading branch information
xmzheng committed Jun 30, 2023
2 parents e877623 + 73840b9 commit 54ca5fc
Show file tree
Hide file tree
Showing 4 changed files with 6,364 additions and 5,805 deletions.
6 changes: 3 additions & 3 deletions examples/hardhat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"@oasisprotocol/sapphire-hardhat": "workspace:^",
"@openzeppelin/contracts": "^4.4.2",
"ethers": "^5.5.3",
"hardhat": "^2.8.3",
"hardhat": "^2.16.1",
"lodash": "^4.17.21",
"ts-node": "^10.4.0",
"typescript": "^4.5.4"
"ts-node": "10.8.0",
"typescript": "4.7.4"
},
"devDependencies": {
"@typechain/ethers-v5": "^9.0.0",
Expand Down
6 changes: 3 additions & 3 deletions integrations/hardhat/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@oasisprotocol/sapphire-hardhat",
"license": "Apache-2.0",
"version": "1.0.4",
"version": "2.16.1",
"description": "A Hardhat plugin for developing on the Sapphire ParaTime.",
"homepage": "https://github.com/oasisprotocol/sapphire-paratime/tree/main/integrations/hardhat",
"repository": {
Expand All @@ -26,7 +26,7 @@
"test": "mocha --exit --recursive 'test/**/*.test.ts'"
},
"dependencies": {
"@oasislabs/hardhat": "^2.12.3",
"@oasislabs/hardhat": "^2.16.1",
"@oasisprotocol/sapphire-paratime": "workspace:^"
},
"devDependencies": {
Expand All @@ -38,7 +38,7 @@
"@types/node": "^18.11.18",
"chai": "^4.3.7",
"ethers": "^5.7.2",
"hardhat": "^2.12.6",
"hardhat": "^2.16.1",
"mocha": "^10.2.0",
"prettier": "^2.8.3",
"ts-node": "^8.10.2",
Expand Down
5 changes: 2 additions & 3 deletions integrations/hardhat/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ subtask(TASK_NODE_GET_PROVIDER).setAction(
const { createProvider } = await import(
'@oasislabs/hardhat/internal/core/providers/construction'
);
const provider = createProvider(
const provider = await createProvider(
config,
HARDHAT_NETWORK_NAME,
hardhatNetworkConfig,
config.paths,
artifacts,
);

Expand Down

0 comments on commit 54ca5fc

Please sign in to comment.