ton-blockchain / ton

Main TON monorepo
Other
3.1k stars 980 forks source link

Mathlib `ton/crypto/smartcont/mathlib.fc` crashes #1019

Closed 0kenx closed 3 months ago

0kenx commented 5 months ago

Mathlib ton/crypto/smartcont/mathlib.fc crashes when trying to use fixed248_log2.

What behavior did you expect?

Should compile.

What was the actual behavior?

Fift decompiler crashed
Error: Unknown opcode: b1111011

Compiled using Tact v1.3.1's default FunC compiler.

anton-trunov commented 4 months ago

This has been fixed in ton-opcode: https://github.com/tact-lang/ton-opcode/pull/16. This issue can be closed now