block.logicaltime doesn't work & block.timestamp output's wrong unix time, ex:- "35012461000000"
shravanandoria opened this issue · comments
@IgorKoval Please take a look at it
Compiler version?
Compiler version?
0.61.2
@mnill
Logical time is Everscale related param. To get timestamp you need to use compiler with version >= 0.67.0 or try to use now
instead of block.timestamp
https://github.com/tonlabs/TON-Solidity-Compiler/blob/master/Changelog.md
0.67.0 (2023-03-16)
Update compiler frontend (from original version 0.6.3 to 0.8.17):
Breaking changes:
block.timestamp returns opcode NOW instead of opcode BLOCKLT. block.logicaltime returns opcode BLOCKLT.