TGViewer
TON Dev News TON Dev News @tondev_news · 41.1K subscribers
Post #170 6.13K
FunC 0.4.6

In this release of FunC two compiler bugs were fixed. Both manifest in unusual conditions and scanning onchain history for last months didn't revealed any manifestation in the wild. So apparently existing contracts are safe thanks to culture of thorough integrational testing in developer community!
Great job 👍

Still, if you are deploying a new contracts we recommend you to switch to new compiler version.

1) First bug is related to try/catch construction, where inside try branch a function that modifies c1/с3 is called. That may happen in case of non-trivial branching in this child function or using set_c3. How to check.

2) Second bug is related to storing function into variable. In this case, in FunC <=0.4.5 impure modifier of this functions was dropped.
  • 👍 23
  • ✍ 10
  • ❤ 7
  • 🎅 2
  • 👏 1
  • 😁 1
  • 🤡 1
  • 🍌 1
More from @tondev_news
  1. Jun 15, 2026🤑GRAM is live! The ticker, logo and name are changing. Everything else stays the same. Sa…
  2. Jun 11, 2026Bot API 10.1 📝 Markup Revolution This update introduces native text styling tools to enab…
  3. Jun 10, 2026TON Connect v3. TON Connect has received a major update with gasless transactions, connect…
  4. Jun 4, 2026MTONGA / MGRAMGA: the next step is clear: 30% extra on any top-up at @dtontech_bot / dton.…
  5. Jun 1, 2026🪙 Toncoin Name Change — Community Vote TON has changed substantially in recent months. Te…
  6. May 18, 2026🧠 AI devs asked for this — and we delivered. 🤖 Bots can now talk to other bots on Telegr…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →