Skip to content

Commit

Permalink
Rollback allowUnlimitedContractSize
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw committed Jan 15, 2024
1 parent 070024e commit 97043de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ for (const f of fs.readdirSync(path.join(__dirname, 'hardhat'))) {
}

const withOptimizations = argv.gas || argv.coverage || argv.compileMode === 'production';
const allowUnlimitedContractSize = argv.coverage || argv.compileMode === 'development';

/**
* @type import('hardhat/config').HardhatUserConfig
Expand Down Expand Up @@ -115,7 +114,7 @@ module.exports = {
},
networks: {
hardhat: {
allowUnlimitedContractSize,
allowUnlimitedContractSize: !withOptimizations,
initialBaseFeePerGas: argv.coverage ? 0 : undefined,
},
},
Expand Down

0 comments on commit 97043de

Please sign in to comment.