Skip to content

Commit 573c2e7

Browse files
authored
update trace returns (#435)
1 parent 9cdffd5 commit 573c2e7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

XLS-0102-wasm-vm/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ Helper functions for working with rippled-encoded floats (e.g. IOU amounts).
224224

225225
### 5.9. Trace
226226

227-
Output debug info to the `rippled` debug log. The maximum size of data that can be passed into these functions is 1024 bytes.
227+
Output debug info to the `rippled` debug log (if trace logging is enabled). The maximum size of data that can be passed into these functions is 1024 bytes (attempting to pass in more will trigger an error).
228+
229+
Each of these host functions will return `0` on success and a negative value on failure.
228230

229231
| Function Signature | Description | Gas Cost |
230232
| :------------------------------------------------------------------------------------------------------------------------------------------------------ | :------------------------------------------------------ | :------- |

0 commit comments

Comments
 (0)