Open 0kenx opened 1 week ago
This may be a case of outdated libraries, like ton-opcode
and others. Try running yarn upgrade
(or similar for your package manager) and tell if the issue got resolved or not :)
No that's not the reason. I've updated everything to latest.
It's most likely a bug in the TVM disassembler that is present in the compilation pipeline. The division TVM instructions are assumed to be always 16-bit wide which is not actually true: https://github.com/tact-lang/ton-opcode/issues/15.
We will fix ton-opcodes
and also introduce a config option to switch the disassembly step off: #415.
https://github.com/ton-blockchain/ton/issues/1019
I suspect this could be a Tact issue, but can't confirm. Using native to bring in
fixed248_log2
fails whilefixed248_log
succeeds.PS: another independent(?) error:
fails with
Fift decompiler crashed Error: Index 224 > 224 is out of bounds
but weirdlysucceeds