Commit edb80024 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #2595 from ethereum-optimism/fix/hardhat-build

bedrock-contracts: fix hardhat build
parents 262b0db3 d518bb5b
......@@ -25,7 +25,6 @@ task('accounts', 'Prints the list of accounts', async (_, hre) => {
})
const config: HardhatUserConfig = {
solidity: '0.8.10',
networks: {
devnetL1: {
url: 'http://localhost:8545',
......@@ -43,6 +42,32 @@ const config: HardhatUserConfig = {
default: 0,
},
},
solidity: {
compilers: [
{
version: '0.8.10',
settings: {
optimizer: { enabled: true, runs: 10_000 },
},
},
{
version: '0.5.17', // Required for WETH9
settings: {
optimizer: { enabled: true, runs: 10_000 },
},
},
],
settings: {
metadata: {
bytecodeHash: 'none',
},
outputSelection: {
'*': {
'*': ['metadata', 'storageLayout'],
},
},
},
},
}
export default config
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