Skip to content

Commit

Permalink
make solidity complier as arrays (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Sep 24, 2024
1 parent 8d234f6 commit cb6aacc
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions packages/hardhat/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,18 @@ const etherscanApiKey = process.env.ETHERSCAN_API_KEY || "DNXJA8RX2Q3VZ4URQIWP7Z

const config: HardhatUserConfig = {
solidity: {
version: "0.8.20",
settings: {
optimizer: {
enabled: true,
// https://docs.soliditylang.org/en/latest/using-the-compiler.html#optimizer-options
runs: 200,
compilers: [
{
version: "0.8.20",
settings: {
optimizer: {
enabled: true,
// https://docs.soliditylang.org/en/latest/using-the-compiler.html#optimizer-options
runs: 200,
},
},
},
},
],
},
defaultNetwork: "localhost",
namedAccounts: {
Expand Down

0 comments on commit cb6aacc

Please sign in to comment.