Explorar o código

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

Hadrien Croubois %!s(int64=2) %!d(string=hai) anos
pai
achega
6724873895
Modificáronse 1 ficheiros con 1 adicións e 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;
     }