diff --git a/hardhat.config.js b/hardhat.config.js index d39d3d0..af922c1 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -63,6 +63,7 @@ require('hardhat-gas-reporter'); require('hardhat-ignore-warnings'); require('solidity-coverage'); require('solidity-docgen'); +require('hardhat-tracer'); for (const f of fs.readdirSync(path.join(__dirname, 'hardhat'))) { require(path.join(__dirname, 'hardhat', f)); @@ -103,6 +104,13 @@ module.exports = { // we rely on the `code-size` compiler warning, that will cause a compilation error. allowUnlimitedContractSize: true, initialBaseFeePerGas: argv.coverage ? 0 : undefined, + chains: { + 31337: { + hardforkHistory: { + cancun: 0, + } + }, + }, }, }, exposed: {