Files
xrpl-hooks-ide/xrpl-hooks-docs/md/hooks-field-add-buf-len.md
2023-06-06 12:28:19 +00:00

518 B

hooks-field-add-buf-len

Emplacing a new field into STObject by calling sto_emplace requires enough space to serialize the new STObject into; the API also limits sizes of the old object and field.

This check warns about insufficient output buffer space as well as too-large values of the inputs in calls to sto_emplace (if they're specified by constants - variable parameters are ignored).

Read more