Skip to content

Commit

Permalink
Disable code size warnings on exposed contracts
Browse files Browse the repository at this point in the history
(cherry picked from commit d095542)
  • Loading branch information
frangio committed May 9, 2023
1 parent 17cf519 commit f214e47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ module.exports = {
},
},
warnings: {
'contracts-exposed/**/*': {
'code-size': 'off',
},
'*': {
'code-size': withOptimizations,
'unused-param': !argv.coverage, // coverage causes unused-param warnings
Expand Down

0 comments on commit f214e47

Please sign in to comment.