Explorar el Código

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

Hadrien Croubois hace 2 años
padre
commit
6724873895
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;
     }