Skip to content

deps(smart-contracts): bump hardhat to 2.18.3 #12862

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

Merged
merged 10 commits into from
Oct 30, 2023
2 changes: 1 addition & 1 deletion governance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@unlock-protocol/hardhat-plugin": "workspace:^",
"@unlock-protocol/networks": "workspace:./packages/networks",
"eslint": "8.46.0",
"hardhat": "2.15.0",
"hardhat": "2.18.3",
"solhint": "3.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"copyfiles": "2.4.1",
"eslint": "8.50.0",
"fs-extra": "11.1.1",
"hardhat": "2.17.2",
"hardhat": "2.18.3",
"typescript": "5.2.2"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@unlock-protocol/networks": "workspace:^",
"@unlock-protocol/tsconfig": "workspace:^",
"@unlock-protocol/types": "workspace:^",
"hardhat": "2.18.2",
"hardhat": "2.18.3",
"typescript": "5.2.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@unlock-protocol/tsconfig": "workspace:^",
"chai": "4.3.10",
"eslint": "8.41.0",
"hardhat": "2.14.1",
"hardhat": "2.18.3",
"mocha": "10.2.0",
"prettier": "3.0.0",
"ts-mocha": "10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/unlock-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@unlock-protocol/networks": "workspace:./packages/networks",
"@unlock-protocol/types": "workspace:./packages/types",
"eslint": "8.46.0",
"hardhat": "2.17.2",
"hardhat": "2.18.3",
"prettier": "3.0.0",
"tsup": "7.2.0",
"typescript": "5.1.6",
Expand Down
13 changes: 7 additions & 6 deletions smart-contracts/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ const settings = {
},
}

// used for tests
networks.hardhat = {
initialBaseFeePerGas: 100000000,
}

// mainnet fork
if (process.env.RUN_FORK) {
const chainId = parseInt(process.env.RUN_FORK)
Expand Down Expand Up @@ -105,7 +100,13 @@ module.exports = {
{ version: '0.8.4', settings }, // required for test/Lock/upgrades/V10
{ version: '0.8.7', settings }, // required for test/Lock/upgrades/V11
{ version: '0.8.13', settings }, // required for test/Lock/upgrades/V12
{ version: '0.8.21', settings },
{
version: '0.8.21',
settings: {
...settings,
evmVersion: 'shanghai',
},
},
],
},
mocha: {
Expand Down
8 changes: 4 additions & 4 deletions smart-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@
"eth-sig-util": "3.0.1",
"ethers": "5.7.2",
"fs-extra": "11.1.1",
"hardhat": "2.15.0",
"hardhat": "2.18.3",
"hardhat-contract-sizer": "2.10.0",
"hardhat-erc1820": "0.1.0",
"hardhat-gas-reporter": "1.0.9",
"hardhat-storage-layout": "0.1.7",
"hardhat-tracer": "2.4.0",
"hardhat-tracer": "^2.7.0",
"hardlydifficult-eth": "1.1.4",
"hardlydifficult-ethereum-contracts": "0.11.1",
"prettier": "3.0.0",
"prettier-plugin-solidity": "1.1.3",
"prompt": "1.3.0",
"solhint": "3.4.1",
"solidity-coverage": "0.8.2",
"solidity-coverage": "0.8.5",
"yesno": "0.4.0"
},
"devDependencies": {
Expand All @@ -69,7 +69,7 @@
"lint:code": "eslint --resolve-plugins-relative-to ../packages/eslint-config .",
"lint": "yarn lint:contracts && yarn lint:code",
"lintFix": "yarn lint:contracts --fix && yarn lint:code --fix",
"coverage": "IS_COVERAGE=1 yarn hardhat coverage",
"coverage": "IS_COVERAGE=1 yarn hardhat coverage --network hardhat",
"dev": "yarn lint && yarn build && yarn test",
"size": "yarn hardhat size-contracts",
"ci": "yarn lint && yarn test",
Expand Down
2 changes: 1 addition & 1 deletion tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"eslint": "8.46.0",
"ethers": "^5.4.7",
"graphql": "^16.6.0",
"hardhat": "2.12.6",
"hardhat": "2.18.3",
"hardhat-gas-reporter": "^1.0.8",
"isomorphic-fetch": "^3.0.0",
"solidity-coverage": "0.8.2",
Expand Down
Loading