Output contract name where storage inconsistency was found (#4357)

pull/4365/head
Hadrien Croubois 2 years ago committed by GitHub
parent c014c8f148
commit 6724873895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      scripts/checks/compare-layout.js

@ -10,6 +10,7 @@ for (const name in oldLayout) {
if (name in newLayout) {
const report = getStorageUpgradeReport(oldLayout[name], newLayout[name], {});
if (!report.ok) {
console.log(`Storage layout incompatilibity found in ${name}:`);
console.log(report.explain());
process.exitCode = 1;
}

Loading…
Cancel
Save