Oleg Baranov

Results 50 comments of Oleg Baranov

`throw_unless` operation costs 26 or 76 gas + additional compare op, math operations costs 18 gas, so it will cost more than before I think

Yea, I think it can be a problem, because as I know in some products (especially libraries) those op codes are calculated based on tlb schemas, and also in almost...

FYI: this is the tool which should be used for calculation (or something with similar algo) https://github.com/ton-blockchain/ton/blob/4b940f8bad9c2d3bf44f196f6995963c7cee9cc3/crypto/tl/tlbc.cpp#L3085 tlbc -q -vvv schema.tlb

> Could you please give some examples of such libraries? Just curious. If the opcode is hard coded in the tlb schema, it is hard to miscalculate it based on...

> UPD: prefix calculation uses only for [Telegram TL](https://core.telegram.org/mtproto/TL), not for TON TL-B Actually not only TL, TL-B too, [example](https://github.com/ton-blockchain/ton/blob/master/crypto/block/block.tlb#L447). It will not calculate prefix only if `_` exists after...

Yea, an error will be thrown in any way, but the difference is in exception itself, with this fix it will throw `err::wrong_topup_comment` which is correct, but without it, it...

254 (0xFE) не является частью длины, а лишь служит индикатором что следующие 3 байта это длина. 0x01 это второй байт в big endian, каждая единица в нем идет за 256,...

Hi, if you want to authorize user with his wallet and request transaction, you need tonconnect

Maybe you need this: https://docs.ton.org/develop/dapps/ton-connect/developers#ton-connect-go You can build message using tonutils-go and pass serialized binary boc to tonconnect to execute transaction

Hi, as i see in explorer you have only one out transaction and you see it, if you want to see incoming then remove `tx.IO.Out != nil`