Commit 5e97fd5d authored by elenadimitrova's avatar elenadimitrova Committed by Kelvin Fichter

Add solidity compiler settings consistent with contracts

to message-relayer and integration-tests
parent c0c62b49
...@@ -16,7 +16,20 @@ const config: HardhatUserConfig = { ...@@ -16,7 +16,20 @@ const config: HardhatUserConfig = {
mocha: { mocha: {
timeout: 50000, timeout: 50000,
}, },
solidity: '0.8.7', solidity: {
version: '0.8.7',
settings: {
optimizer: { enabled: true, runs: 200 },
metadata: {
bytecodeHash: 'none',
},
outputSelection: {
'*': {
'*': ['storageLayout'],
},
},
},
},
gasReporter: { gasReporter: {
enabled: enableGasReport, enabled: enableGasReport,
currency: 'USD', currency: 'USD',
......
...@@ -9,6 +9,17 @@ const config: HardhatUserConfig = { ...@@ -9,6 +9,17 @@ const config: HardhatUserConfig = {
}, },
solidity: { solidity: {
version: '0.8.7', version: '0.8.7',
settings: {
optimizer: { enabled: true, runs: 200 },
metadata: {
bytecodeHash: 'none',
},
outputSelection: {
'*': {
'*': ['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