Code coverage for Solidity smart-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
solidity-coverage/test/sources/projects/hardhat-compile-config/hardhat.config.js

46 lines
933 B

require("@nomiclabs/hardhat-truffle5");
require(__dirname + "/../plugins/nomiclabs.plugin");
module.exports={
solidity: {
compilers: [
{
10 months ago
version: "0.8.17",
settings: {
optimizer: {
enabled: true
},
viaIR: process.env.VIA_IR === "true"
}
},
{
10 months ago
version: "0.8.19"
},
// Make sure optimizer gets disabled
{
10 months ago
version: "0.8.12",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
}
],
overrides: {
"contracts/ContractA.sol": {
10 months ago
version: "0.8.24",
settings: {
optimizer: {
enabled: true,
10 months ago
runs: 200,
viaIR: process.env.VIA_IR === "true",
evmVersion: 'paris'
}
}
}
}
},
logger: process.env.SILENT ? { log: () => {} } : console,
};