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

fix(contracts): Fix solidity compiler config

parent 541e820d
...@@ -60,11 +60,6 @@ const config: HardhatUserConfig = { ...@@ -60,11 +60,6 @@ const config: HardhatUserConfig = {
compilers: [ compilers: [
{ {
version: '0.8.8', version: '0.8.8',
},
{
version: '0.5.17', // Required for WETH9
},
],
settings: { settings: {
optimizer: { enabled: true, runs: 200 }, optimizer: { enabled: true, runs: 200 },
metadata: { metadata: {
...@@ -77,6 +72,19 @@ const config: HardhatUserConfig = { ...@@ -77,6 +72,19 @@ const config: HardhatUserConfig = {
}, },
}, },
}, },
{
version: '0.5.17', // Required for WETH9
settings: {
optimizer: { enabled: true, runs: 200 },
outputSelection: {
'*': {
'*': ['storageLayout'],
},
},
},
},
],
},
typechain: { typechain: {
outDir: 'dist/types', outDir: 'dist/types',
target: 'ethers-v5', target: 'ethers-v5',
......
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