tact-docs icon indicating copy to clipboard operation
tact-docs copied to clipboard

Re-write `exit-codes.mdx` into an article of the Book

Open novusnota opened this issue 1 year ago • 1 comments

Great tact-fireworks may suit as a starting point. Furthermore, the Fireworks contract should be split into many smaller contracts (or receive() functions) to showcase one error and exit code per one transaction, as suggested by @anton-trunov.

Additional things to fix:

  • Table of Contents for every exit code through headers
  • Disallow LaTeX numbers in headers for better search
  • Grammar, spelling, punctuation
  • Add missing exit codes, i.e. exit code 11 is not documented, and there are be others!

Additional links:

Also — describe what "cannot be faked" means for exit code -14, see: https://github.com/ton-blockchain/ton/blob/20758d6bdd0c1327091287e8a620f660d1a9f4da/crypto/vm/vm.cpp#L492.

Also, describe what they are in general and how they occur.

Related issue: #101

novusnota avatar Mar 13 '24 17:03 novusnota