Skip to content

Commit 6724873

Browse files
authored
Output contract name where storage inconsistency was found (#4357)
1 parent c014c8f commit 6724873

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/checks/compare-layout.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ for (const name in oldLayout) {
1010
if (name in newLayout) {
1111
const report = getStorageUpgradeReport(oldLayout[name], newLayout[name], {});
1212
if (!report.ok) {
13+
console.log(`Storage layout incompatilibity found in ${name}:`);
1314
console.log(report.explain());
1415
process.exitCode = 1;
1516
}

0 commit comments

Comments
 (0)