Skip to content

Commit

Permalink
Add hardhat contract size in hardhat config
Browse files Browse the repository at this point in the history
  • Loading branch information
rya-sge committed Aug 29, 2023
1 parent b28ef33 commit 4ad7819
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ require('@openzeppelin/hardhat-upgrades')
require("hardhat-gas-reporter");
require("solidity-coverage")
require('solidity-docgen')
require("hardhat-contract-sizer");
module.exports = {
solidity: {
version: '0.8.20',
Expand All @@ -17,5 +18,12 @@ module.exports = {
},
viaIR: false
}
},
contractSizer: {
alphaSort: true,
disambiguatePaths: false,
runOnCompile: true,
strict: true,
//only: [':ERC20$'],
}
}

0 comments on commit 4ad7819

Please sign in to comment.