"too large" errors. These contracts compile fine below the max size in remix with runs set to 200, but in hardhat I get the code size warnings. I'm clearly doing something stupid but my hardhat.config.js (which is in the folder I'm running hardhat from) has the following settings:
module.exports = {
solidity: "0.8.7",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
};
Anything obvious I need to change here?
solidity: { version: "0.8.6", settings: { optimizer: { enabled: true, runs: 1000, }, },
Обсуждают сегодня