BUGFIX: Coding contracts may have duplicate names (#2399)

This commit is contained in:
imcute_aaaa
2025-11-27 16:59:11 +09:00
committed by GitHub
parent 329fdc50fb
commit 77fe36db89
5 changed files with 125 additions and 20 deletions
+8
View File
@@ -498,5 +498,13 @@ export const breakingChanges300: VersionBreakingChange = {
'It has been automatically replaced with "ns.getBitNodeMultipliers().CloudServerMaxRam".',
showWarning: false,
},
{
brokenAPIs: [{ name: "createDummyContract" }],
info:
"ns.codingcontract.createDummyContract might generate a contract with the same name of another contract.\n" +
"This bug was fixed. Now this function will return null and not generate a contract if the randomized contract " +
"name is the same as another contract's name.",
showWarning: false,
},
],
};