Commit d6deb96e authored by elenadimitrova's avatar elenadimitrova Committed by Kelvin Fichter

Enable the metadata output for contracts compilation

parent fb70e4cd
......@@ -25,9 +25,12 @@ const config: HardhatUserConfig = {
enabled: true,
runs: 200,
},
metadata: {
bytecodeHash: 'none',
},
outputSelection: {
'*': {
'*': ['storageLayout'],
'*': ['metadata', 'storageLayout'],
},
},
},
......
......@@ -62,28 +62,25 @@ const config: HardhatUserConfig = {
version: '0.8.9',
settings: {
optimizer: { enabled: true, runs: 10_000 },
metadata: {
bytecodeHash: 'none',
},
outputSelection: {
'*': {
'*': ['storageLayout'],
},
},
},
},
{
version: '0.5.17', // Required for WETH9
settings: {
optimizer: { enabled: true, runs: 10_000 },
outputSelection: {
'*': {
'*': ['storageLayout'],
},
},
},
},
],
settings: {
metadata: {
bytecodeHash: 'none',
},
outputSelection: {
'*': {
'*': ['metadata', 'storageLayout'],
},
},
},
},
typechain: {
outDir: 'dist/types',
......
......@@ -16,7 +16,7 @@ const config: HardhatUserConfig = {
},
outputSelection: {
'*': {
'*': ['storageLayout'],
'*': ['metadata', 'storageLayout'],
},
},
},
......
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