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.
30 lines
594 B
30 lines
594 B
10 months ago
|
require("@nomiclabs/hardhat-truffle5");
|
||
|
require(__dirname + "/../plugins/nomiclabs.plugin");
|
||
|
|
||
|
module.exports={
|
||
|
solidity: {
|
||
|
compilers: [
|
||
|
{
|
||
|
version: "0.8.17",
|
||
|
},
|
||
|
{
|
||
|
version: "0.8.19"
|
||
|
},
|
||
|
],
|
||
|
overrides: {
|
||
|
"contracts/ContractA.sol": {
|
||
|
version: "0.8.24",
|
||
|
settings: {
|
||
|
optimizer: {
|
||
|
enabled: true,
|
||
|
runs: 200,
|
||
|
viaIR: process.env.VIA_IR === "true",
|
||
|
evmVersion: 'paris'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
logger: process.env.SILENT ? { log: () => {} } : console,
|
||
|
};
|