You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mytonctrl/mytonctrl.py
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -350,10 +350,7 @@ def Upgrade(ton, args):
350
350
351
351
clang_version=get_clang_major_version()
352
352
ifclang_versionisNoneorclang_version<16:
353
-
text="{yellow}Warning: clang version 16 or higher is required for TON Node software upgrade.{endc}\n"
354
-
ifclang_versionisNone:
355
-
text+="Could not check clang version.\n If you are sure that clang version is 16 or higher, use --force option.\n"
356
-
text+="For clang update check the following instructions: https://gist.github.com/neodix42/e4b1b68d2d5dd3dec75b5221657f05d7\n"
353
+
text=f"{{red}}WARNING: THIS UPGRADE WILL MOST PROBABLY FAIL DUE TO A WRONG CLANG VERSION: {clang_version}, REQUIRED VERSION IS 16. RECOMMENDED TO EXIT NOW AND UPGRADE CLANG AS PER INSTRUCTIONS: https://gist.github.com/neodix42/e4b1b68d2d5dd3dec75b5221657f05d7{{endc}}\n"
357
354
color_print(text)
358
355
ifinput("Continue with upgrade anyway? [Y/n]\n").strip().lower() notin ('y', ''):
359
356
print('aborted.')
@@ -592,7 +589,7 @@ def PrintStatus(local, ton, args):
0 commit comments