Skip to content

Commit 0cdc07d

Browse files
authored
Merge pull request #2069 from kleros/chore/solc-0.8.30-viaIR
Enabled Hardhat viaIR compilation with solc v0.8.30
2 parents e3ed3c9 + 77c8549 commit 0cdc07d

File tree

3 files changed

+11
-20
lines changed

3 files changed

+11
-20
lines changed

contracts/hardhat.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ const config: HardhatUserConfig = {
2626
solidity: {
2727
compilers: [
2828
{
29-
version: "0.8.28",
29+
version: "0.8.30",
3030
settings: {
31-
// viaIR: true,
31+
viaIR: true,
3232
optimizer: {
3333
enabled: true,
3434
runs: 100,
@@ -44,7 +44,7 @@ const config: HardhatUserConfig = {
4444
// For Vea
4545
version: "0.8.24",
4646
settings: {
47-
// viaIR: true,
47+
viaIR: true,
4848
optimizer: {
4949
enabled: true,
5050
runs: 100,

contracts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
"gluegun": "^5.2.0",
132132
"graphql": "^16.9.0",
133133
"graphql-request": "^7.1.2",
134-
"hardhat": "2.25.0",
134+
"hardhat": "2.26.2",
135135
"hardhat-contract-sizer": "^2.10.0",
136136
"hardhat-deploy": "^1.0.4",
137137
"hardhat-deploy-ethers": "^0.4.2",

yarn.lock

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6147,7 +6147,7 @@ __metadata:
61476147
gluegun: "npm:^5.2.0"
61486148
graphql: "npm:^16.9.0"
61496149
graphql-request: "npm:^7.1.2"
6150-
hardhat: "npm:2.25.0"
6150+
hardhat: "npm:2.26.2"
61516151
hardhat-contract-sizer: "npm:^2.10.0"
61526152
hardhat-deploy: "npm:^1.0.4"
61536153
hardhat-deploy-ethers: "npm:^0.4.2"
@@ -7655,7 +7655,7 @@ __metadata:
76557655
languageName: node
76567656
linkType: hard
76577657

7658-
"@nomicfoundation/edr@npm:^0.11.1":
7658+
"@nomicfoundation/edr@npm:^0.11.3":
76597659
version: 0.11.3
76607660
resolution: "@nomicfoundation/edr@npm:0.11.3"
76617661
dependencies:
@@ -10277,13 +10277,6 @@ __metadata:
1027710277
languageName: node
1027810278
linkType: hard
1027910279

10280-
"@types/lru-cache@npm:^5.1.0":
10281-
version: 5.1.1
10282-
resolution: "@types/lru-cache@npm:5.1.1"
10283-
checksum: 10/0afadefc983306684a8ef95b6337a0d9e3f687e7e89e1f1f3f2e1ce3fbab5b018bb84cf277d781f871175a2c8f0176762b69e58b6f4296ee1b816cea94d5ef06
10284-
languageName: node
10285-
linkType: hard
10286-
1028710280
"@types/mdast@npm:^3.0.0":
1028810281
version: 3.0.15
1028910282
resolution: "@types/mdast@npm:3.0.15"
@@ -20259,17 +20252,15 @@ __metadata:
2025920252
languageName: node
2026020253
linkType: hard
2026120254

20262-
"hardhat@npm:2.25.0":
20263-
version: 2.25.0
20264-
resolution: "hardhat@npm:2.25.0"
20255+
"hardhat@npm:2.26.2":
20256+
version: 2.26.2
20257+
resolution: "hardhat@npm:2.26.2"
2026520258
dependencies:
2026620259
"@ethereumjs/util": "npm:^9.1.0"
2026720260
"@ethersproject/abi": "npm:^5.1.2"
20268-
"@nomicfoundation/edr": "npm:^0.11.1"
20261+
"@nomicfoundation/edr": "npm:^0.11.3"
2026920262
"@nomicfoundation/solidity-analyzer": "npm:^0.1.0"
2027020263
"@sentry/node": "npm:^5.18.1"
20271-
"@types/bn.js": "npm:^5.1.0"
20272-
"@types/lru-cache": "npm:^5.1.0"
2027320264
adm-zip: "npm:^0.4.16"
2027420265
aggregate-error: "npm:^3.0.0"
2027520266
ansi-escapes: "npm:^4.3.0"
@@ -20314,7 +20305,7 @@ __metadata:
2031420305
optional: true
2031520306
bin:
2031620307
hardhat: internal/cli/bootstrap.js
20317-
checksum: 10/b74e83cf8b48e782dd9b7db0d640bcd68fe303c9e269686f9aa4ddcdd7b80e1ca932907003fd42fda005f38d486e4e59726b0f38fd8bf0b981e5810abcc907db
20308+
checksum: 10/ef9f5f232264ed45a406a7053ccce71e67b0ce084de2de6fa2c24ff0bb1ec0d7b69f61769b3ac94a50445709b25bcf0d8ee135e1509e53331a3fea44d01cbb63
2031820309
languageName: node
2031920310
linkType: hard
2032020311

0 commit comments

Comments
 (0)