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 = { ...@@ -60,22 +60,30 @@ const config: HardhatUserConfig = {
compilers: [ compilers: [
{ {
version: '0.8.8', version: '0.8.8',
settings: {
optimizer: { enabled: true, runs: 200 },
metadata: {
bytecodeHash: 'none',
},
outputSelection: {
'*': {
'*': ['storageLayout'],
},
},
},
}, },
{ {
version: '0.5.17', // Required for WETH9 version: '0.5.17', // Required for WETH9
}, settings: {
], optimizer: { enabled: true, runs: 200 },
settings: { outputSelection: {
optimizer: { enabled: true, runs: 200 }, '*': {
metadata: { '*': ['storageLayout'],
bytecodeHash: 'none', },
}, },
outputSelection: {
'*': {
'*': ['storageLayout'],
}, },
}, },
}, ],
}, },
typechain: { typechain: {
outDir: 'dist/types', 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