Skip to content

Commit

Permalink
Remove gas report bypass
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw committed Apr 3, 2024
1 parent 70dc2df commit 8853203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/checks/compareGasReports.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8853203

Please sign in to comment.