From 8853203ca8339421cfb6a279ff68b6e36db59fb5 Mon Sep 17 00:00:00 2001 From: ernestognw Date: Wed, 3 Apr 2024 10:18:19 -0600 Subject: [PATCH] Remove gas report bypass --- scripts/checks/compareGasReports.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checks/compareGasReports.js b/scripts/checks/compareGasReports.js index 2c7b4dc24df..8c9cfc4d053 100755 --- a/scripts/checks/compareGasReports.js +++ b/scripts/checks/compareGasReports.js @@ -50,7 +50,7 @@ class Report { // Compare two reports static compare(update, ref, opts = { hideEqual: true, strictTesting: false }) { if (JSON.stringify(update.options?.solcInfo) !== JSON.stringify(ref.options?.solcInfo)) { - console.warn('WARNING: Reports produced with non matching metadata'); + throw new Error('Reports produced with non matching metadata'); } // gasReporter 1.0.0 uses ".info", but 2.0.0 uses ".data"