Przeglądaj źródła

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

Hadrien Croubois 2 lat temu
rodzic
commit
6724873895
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      scripts/checks/compare-layout.js

+ 1 - 0
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;
     }