tact-lang / tact-docs

Tact main documentation
https://docs.tact-lang.org
57 stars 40 forks source link

Clarify `as remaining` is not possible in the middle of a struct in `book/cells#serialization-types` #353

Closed anton-trunov closed 3 months ago

anton-trunov commented 3 months ago

Therefore, to prevent misuse of the contract storage and reduce gas consumption, make sure to specify remaining serialization option only on the last field of the given Message

https://github.com/tact-lang/tact/pull/697 fixes it