From 4a09e881a814d3a028ce59c22ff7a74f06a6e852 Mon Sep 17 00:00:00 2001 From: aSpite Date: Wed, 24 Jan 2024 14:55:13 +0400 Subject: [PATCH] update descriptions --- .../smart-contracts/testing/writing-test-examples.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/develop/smart-contracts/testing/writing-test-examples.mdx b/docs/develop/smart-contracts/testing/writing-test-examples.mdx index 6fe17414ff1..0f6a0a5a273 100644 --- a/docs/develop/smart-contracts/testing/writing-test-examples.mdx +++ b/docs/develop/smart-contracts/testing/writing-test-examples.mdx @@ -436,9 +436,9 @@ This test verifies whether the transaction fees for launching the fireworks are ## Edge Cases Tests -There will be examples of different exit codes that can occur during transaction processing. These exit codes are in the blockchain code itself. At the same time, it is necessary to distinguish the exit code during the [Compute Phase](/learn/tvm-instructions/tvm-overview#compute-phase) and the exit code during the Action Phase. +In this section will be provided the test cases for TVM exit [codes](/learn/tvm-instructions/tvm-exit-codes) that can occur during transaction processing. These exit codes are in the blockchain code itself. At the same time, it is necessary to distinguish the exit code during the [Compute Phase](/learn/tvm-instructions/tvm-overview#compute-phase) and the exit code during the Action Phase. -During the Compute Phase, the contract logic (its code) is executed. During this processing, various actions can be created. These actions will be processed in the next phase - Action Phase. If the Compute Phase was unsuccessful, then the Action Phase does not start. However, if the Compute Phase was successful, this does not guarantee that the Action Phase will also end successfully. +During the Compute Phase, the contract logic (its code) is executed. While processing, various actions can be created. These actions will be processed in the next phase - Action Phase. If the Compute Phase is unsuccessful, then the Action Phase does not start. However, if the Compute Phase was successful, this does not guarantee that the Action Phase will also end successfully. ### Compute Phase | exit code = 0 @@ -496,7 +496,7 @@ There are many other cases when this error is thrown. Some of them: ### Compute Phase | exit code = 8 -All data in TON is stored in [cells](/develop/data-formats/cell-boc#cell). One cell can hold 1023 bits of data and 4 references to other cells. If you try to write more than 1023 bits or more than 4 references, 8 exit code is thrown. +All data in TON is stored in [cells](/develop/data-formats/cell-boc#cell). A cell has the capacity to store 1023 bits of data and 4 references to other cells. If you try to write more than 1023 bits or more than 4 references, 8 exit code is thrown. ### Compute Phase | exit code = 9