Browse Source

Disable code size warnings on exposed contracts

Francisco Giordano 2 years ago
parent
commit
d095542fa4
1 changed files with 3 additions and 0 deletions
  1. 3 0
      hardhat.config.js

+ 3 - 0
hardhat.config.js

@@ -76,6 +76,9 @@ module.exports = {
     },
   },
   warnings: {
+    'contracts-exposed/**/*': {
+      'code-size': 'off',
+    },
     '*': {
       'code-size': withOptimizations,
       'unused-param': !argv.coverage, // coverage causes unused-param warnings