Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove gas report bypass
  • Loading branch information
ernestognw committed Apr 3, 2024
commit 8853203ca8339421cfb6a279ff68b6e36db59fb5
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