Skip to content

Commit 62e0ddc

Browse files
clemsosrenovate[bot]julien51
authored
deps(smart-contracts): bump hardhat to 2.18.3 (#12862)
* fix(deps): update dependency solidity-coverage to v0.8.5 * coerce coverage to use hardhat network * hardhat network default values * bump hardhat * remove caret * set solc 0.8.21 to shanghai * bump hardhat-tracer * remove caret `hardhat-tracer` --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Julien Genestoux <[email protected]>
1 parent db5b292 commit 62e0ddc

File tree

9 files changed

+70
-627
lines changed

9 files changed

+70
-627
lines changed

governance/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@unlock-protocol/hardhat-plugin": "workspace:^",
1717
"@unlock-protocol/networks": "workspace:./packages/networks",
1818
"eslint": "8.46.0",
19-
"hardhat": "2.15.0",
19+
"hardhat": "2.18.3",
2020
"solhint": "3.4.1"
2121
},
2222
"scripts": {

packages/contracts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"copyfiles": "2.4.1",
3535
"eslint": "8.50.0",
3636
"fs-extra": "11.1.1",
37-
"hardhat": "2.17.2",
37+
"hardhat": "2.18.3",
3838
"typescript": "5.2.2"
3939
},
4040
"files": [

packages/hardhat-helpers/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@unlock-protocol/networks": "workspace:^",
1919
"@unlock-protocol/tsconfig": "workspace:^",
2020
"@unlock-protocol/types": "workspace:^",
21-
"hardhat": "2.18.2",
21+
"hardhat": "2.18.3",
2222
"typescript": "5.2.2"
2323
},
2424
"devDependencies": {

packages/hardhat-plugin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@unlock-protocol/tsconfig": "workspace:^",
4646
"chai": "4.3.10",
4747
"eslint": "8.41.0",
48-
"hardhat": "2.14.1",
48+
"hardhat": "2.18.3",
4949
"mocha": "10.2.0",
5050
"prettier": "3.0.0",
5151
"ts-mocha": "10.0.0",

packages/unlock-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@unlock-protocol/networks": "workspace:./packages/networks",
4848
"@unlock-protocol/types": "workspace:./packages/types",
4949
"eslint": "8.46.0",
50-
"hardhat": "2.17.2",
50+
"hardhat": "2.18.3",
5151
"prettier": "3.0.0",
5252
"tsup": "7.2.0",
5353
"typescript": "5.1.6",

smart-contracts/hardhat.config.js

+7-6
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@ const settings = {
4747
},
4848
}
4949

50-
// used for tests
51-
networks.hardhat = {
52-
initialBaseFeePerGas: 100000000,
53-
}
54-
5550
// mainnet fork
5651
if (process.env.RUN_FORK) {
5752
const chainId = parseInt(process.env.RUN_FORK)
@@ -105,7 +100,13 @@ module.exports = {
105100
{ version: '0.8.4', settings }, // required for test/Lock/upgrades/V10
106101
{ version: '0.8.7', settings }, // required for test/Lock/upgrades/V11
107102
{ version: '0.8.13', settings }, // required for test/Lock/upgrades/V12
108-
{ version: '0.8.21', settings },
103+
{
104+
version: '0.8.21',
105+
settings: {
106+
...settings,
107+
evmVersion: 'shanghai',
108+
},
109+
},
109110
],
110111
},
111112
mocha: {

smart-contracts/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,19 @@
4343
"eth-sig-util": "3.0.1",
4444
"ethers": "5.7.2",
4545
"fs-extra": "11.1.1",
46-
"hardhat": "2.15.0",
46+
"hardhat": "2.18.3",
4747
"hardhat-contract-sizer": "2.10.0",
4848
"hardhat-erc1820": "0.1.0",
4949
"hardhat-gas-reporter": "1.0.9",
5050
"hardhat-storage-layout": "0.1.7",
51-
"hardhat-tracer": "2.4.0",
51+
"hardhat-tracer": "2.7.0",
5252
"hardlydifficult-eth": "1.1.4",
5353
"hardlydifficult-ethereum-contracts": "0.11.1",
5454
"prettier": "3.0.0",
5555
"prettier-plugin-solidity": "1.1.3",
5656
"prompt": "1.3.0",
5757
"solhint": "3.4.1",
58-
"solidity-coverage": "0.8.2",
58+
"solidity-coverage": "0.8.5",
5959
"yesno": "0.4.0"
6060
},
6161
"devDependencies": {
@@ -69,7 +69,7 @@
6969
"lint:code": "eslint --resolve-plugins-relative-to ../packages/eslint-config .",
7070
"lint": "yarn lint:contracts && yarn lint:code",
7171
"lintFix": "yarn lint:contracts --fix && yarn lint:code --fix",
72-
"coverage": "IS_COVERAGE=1 yarn hardhat coverage",
72+
"coverage": "IS_COVERAGE=1 yarn hardhat coverage --network hardhat",
7373
"dev": "yarn lint && yarn build && yarn test",
7474
"size": "yarn hardhat size-contracts",
7575
"ci": "yarn lint && yarn test",

tests/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"eslint": "8.46.0",
3131
"ethers": "^5.4.7",
3232
"graphql": "^16.6.0",
33-
"hardhat": "2.12.6",
33+
"hardhat": "2.18.3",
3434
"hardhat-gas-reporter": "^1.0.8",
3535
"isomorphic-fetch": "^3.0.0",
3636
"solidity-coverage": "0.8.2",

0 commit comments

Comments
 (0)