Commit fd288686 authored by Maurelian's avatar Maurelian Committed by Kelvin Fichter

fix(contracts): Fix solidity compiler config

parent 541e820d
......@@ -60,22 +60,30 @@ const config: HardhatUserConfig = {
compilers: [
{
version: '0.8.8',
settings: {
optimizer: { enabled: true, runs: 200 },
metadata: {
bytecodeHash: 'none',
},
outputSelection: {
'*': {
'*': ['storageLayout'],
},
},
},
},
{
version: '0.5.17', // Required for WETH9
},
],
settings: {
optimizer: { enabled: true, runs: 200 },
metadata: {
bytecodeHash: 'none',
},
outputSelection: {
'*': {
'*': ['storageLayout'],
settings: {
optimizer: { enabled: true, runs: 200 },
outputSelection: {
'*': {
'*': ['storageLayout'],
},
},
},
},
},
],
},
typechain: {
outDir: 'dist/types',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment