Skip to content

Commit

Permalink
chore(hardhat.config.js): 0.8.24 compiler only
Browse files Browse the repository at this point in the history
  • Loading branch information
benceharomi committed Aug 28, 2024
1 parent 80ed35b commit 9a257c1
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions hardhat.config.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
module.exports = {
solidity: {
compilers: [
{
version: "0.8.24",
settings: {
evmVersion: "cancun",
viaIR: process.env.HARDHAT_VIA_IR === "true",
optimizer: {
enabled: true,
runs: 9999999,
},
},
version: "0.8.24",
settings: {
evmVersion: "cancun",
viaIR: process.env.HARDHAT_VIA_IR === "true",
optimizer: {
enabled: true,
runs: 9999999,
},
{
version: "0.8.20",
settings: {
viaIR: process.env.HARDHAT_VIA_IR === "true",
optimizer: {
enabled: true,
runs: 9999999,
},
},
},
],
},
},
paths: {
sources: process.env.HARDHAT_CONTRACTS_PATH || "contracts",
Expand Down

0 comments on commit 9a257c1

Please sign in to comment.