Best practices: add an example of invoke_contract_read_only #219
Labels
documentation
Improvements or additions to documentation
[Type] Task
An additional feature or improvement.
Task description
Provide an example of using
invoke_contract_read_only
and demonstrate how it prevents the contract state from updating through reentrant calls.Also, pay attention to the contract balance: show that the balance still can change when using
invoke_contract_read_only
.The text was updated successfully, but these errors were encountered: