Skip to content

Commit

Permalink
Support solidity version 0.8.28 in hardhat config
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed Oct 9, 2024
1 parent c38c0b6 commit cf64015
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,26 @@ const dummyPrivateKey =

const config: HardhatUserConfig = {
solidity: {
version: "0.8.19",
settings: {
optimizer: {
enabled: true,
runs: 200,
compilers: [
{
version: "0.8.19",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
},
{
version: "0.8.28",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
],
},
dependencyCompiler: {
paths: [
Expand Down

0 comments on commit cf64015

Please sign in to comment.